Compare commits

..

4 Commits

4 changed files with 12 additions and 9 deletions

View File

@ -207,7 +207,7 @@ local handlers = {
-- Use a loop to conveniently call 'setup' on multiple servers and -- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches -- map buffer local keybindings when the language server attaches
local servers = { 'pyright', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint', 'marksman', 'rust_analyzer' } local servers = { 'pyright', 'clangd', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint', 'marksman', 'rust_analyzer' }
for _, lsp in pairs(servers) do for _, lsp in pairs(servers) do
require('lspconfig')[lsp].setup { require('lspconfig')[lsp].setup {
on_attach = on_attach, on_attach = on_attach,

View File

@ -1,6 +1,6 @@
#/bin/bash #/bin/bash
function main(){ function main(){
wineapp=$(readlink -f $(whereis wine)) wineapp=$(readlink -f $(whereis wine64))
wineapp ~/Applications/Winbox.exe "$wineapp" "~/Applications/Winbox.exe"
} }
main main

View File

@ -1,12 +1,14 @@
#!/bin/bash #!/bin/bash
~/.local/bin/sidebar-restore-macos ~/.local/bin/sidebar-restore-macos
open -gj "smb://Synology.local/Downloads" open -gj "smb://10.0.0.14/Downloads"
open -gj "smb://Synology.local/Anime" open -gj "smb://10.0.0.14/Anime"
open -gj "smb://Synology.local/Video" open -gj "smb://10.0.0.14/Video"
open -gj "smb://Synology.local/Series" open -gj "smb://10.0.0.14/Series"
open -gj "smb://Synology.local/Photos" open -gj "smb://10.0.0.14/Photos"
open -gj "smb://Synology.local/Backups" open -gj "smb://10.0.0.14/Backups"
open -gj "smb://10.0.0.14/Recordings"
/usr/local/bin/mysides add Synology file:///Volumes/Recordings/
/usr/local/bin/mysides add Synology file:///Volumes/Backups/ /usr/local/bin/mysides add Synology file:///Volumes/Backups/
/usr/local/bin/mysides add Synology file:///Volumes/Downloads/ /usr/local/bin/mysides add Synology file:///Volumes/Downloads/
/usr/local/bin/mysides add Synology file:///Volumes/Video/ /usr/local/bin/mysides add Synology file:///Volumes/Video/

1
.zshrc
View File

@ -210,6 +210,7 @@ alias channel-check='sudo iwlist wlan0 scan | egrep -i "essid|frequency"'
alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork" alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork"
alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k" alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k"
alias irc="ssh mikrus -t 'screen -r'" alias irc="ssh mikrus -t 'screen -r'"
alias neofetch=fastfetch
# GoLang # GoLang
alias go-mod="go mod edit -go $(go version | grep -oE 'go[0-9]*\.[0-9]*\.[0-9]*' | sed 's/go//g'); go get -u; go mod verify; go get -x -v; go mod verify; go mod tidy" alias go-mod="go mod edit -go $(go version | grep -oE 'go[0-9]*\.[0-9]*\.[0-9]*' | sed 's/go//g'); go get -u; go mod verify; go get -x -v; go mod verify; go mod tidy"