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

Adjust fish config

This commit is contained in:
Mo 2022-05-06 14:28:35 +02:00
parent be68fb071b
commit 2050c2277c

View file

@ -12,6 +12,7 @@ if status is-interactive
# Abbreviations # Abbreviations
## Replacements ## Replacements
abbr -a -g rm trash abbr -a -g rm trash
abbr -a -g nvim /home/mo/bin/nvim/bin/nvim
## Safety options ## Safety options
abbr -a -g cp "cp -i" abbr -a -g cp "cp -i"
@ -20,7 +21,6 @@ if status is-interactive
## 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 -avh --partial --zc=zstd --zl=22 --info=PROGRESS2 --no-i-r --stats"
abbr -a -g onefetch "onefetch --no-palette"
## Podman ## Podman
set -l sagemath_image docker.io/sagemath/sagemath:latest set -l sagemath_image docker.io/sagemath/sagemath:latest
@ -51,7 +51,7 @@ if status is-interactive
end end
function ssh -w ssh function ssh -w ssh
echo "SSH with kitty" echo "SSH with Kitty"
kitty +kitten ssh $argv kitty +kitten ssh $argv
end end
@ -67,6 +67,14 @@ if status is-interactive
bat $argv bat $argv
end end
function lg -w lazygit
lazygit $argv
end
function onefetch -w onefetch
onefetch --no-palette $argv
end
## Taskwarrior ## Taskwarrior
function ta -w task -d "Add no priority task" function ta -w task -d "Add no priority task"
task add project:$argv[1] $argv[2..] task add project:$argv[1] $argv[2..]