1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-27 01:01:05 +00:00

Add private config

This commit is contained in:
Mo 2022-05-10 18:23:15 +02:00
parent 16e7661ee0
commit 49b966049c

View file

@ -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