1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-29 05:33:42 +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" abbr -a -g rmi "rm -i"
## Default options ## 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 ## Podman
set -l sagemath_image docker.io/sagemath/sagemath:latest set -l sagemath_image docker.io/sagemath/sagemath:latest
@ -49,8 +49,7 @@ if status is-interactive
z $argv z $argv
end end
function ssh -w ssh function kssh -w ssh
echo "SSH with Kitty"
kitty +kitten ssh $argv kitty +kitten ssh $argv
end end
@ -74,14 +73,8 @@ if status is-interactive
onefetch --no-palette $argv onefetch --no-palette $argv
end end
# TODO: Remove temporal nvim path
function nvim -w nvim
/home/mo/bin/nvim/bin/nvim $argv
end
function gn function gn
# TODO: Remove temporal nvim path /home/mo/bin/goneovim/goneovim --maximized $argv &>/dev/null &
/home/mo/bin/goneovim/goneovim --maximized --nvim /home/mo/bin/nvim/bin/nvim $argv &>/dev/null &
disown disown
end end
@ -109,4 +102,10 @@ if status is-interactive
function vp -w task function vp -w task
vit project:$argv[1] $argv[2..] vit project:$argv[1] $argv[2..]
end end
# Private config
set -l private_config ~/.config/fish/private_config.fish
if test -f $private_config
source $private_config
end
end end