diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 5d8f1bb..ef7eaec 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -19,7 +19,7 @@ if status is-interactive abbr -a -g rmi "rm -i" ## Default options - abbr -a -g rsync "rsync -avh --partial --zc=zstd --zl=22 --info=PROGRESS2 --no-i-r --stats" + abbr -a -g rsync "rsync -ravhL --partial --zc=zstd --zl=22 --no-i-r --info=progress2,stats2" ## Podman set -l sagemath_image docker.io/sagemath/sagemath:latest @@ -49,8 +49,7 @@ if status is-interactive z $argv end - function ssh -w ssh - echo "SSH with Kitty" + function kssh -w ssh kitty +kitten ssh $argv end @@ -74,14 +73,8 @@ if status is-interactive onefetch --no-palette $argv end - # TODO: Remove temporal nvim path - function nvim -w nvim - /home/mo/bin/nvim/bin/nvim $argv - end - function gn - # TODO: Remove temporal nvim path - /home/mo/bin/goneovim/goneovim --maximized --nvim /home/mo/bin/nvim/bin/nvim $argv &>/dev/null & + /home/mo/bin/goneovim/goneovim --maximized $argv &>/dev/null & disown end @@ -109,4 +102,10 @@ if status is-interactive function vp -w task vit project:$argv[1] $argv[2..] end + + # Private config + set -l private_config ~/.config/fish/private_config.fish + if test -f $private_config + source $private_config + end end