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:
parent
be68fb071b
commit
2050c2277c
1 changed files with 10 additions and 2 deletions
|
@ -12,6 +12,7 @@ if status is-interactive
|
|||
# Abbreviations
|
||||
## Replacements
|
||||
abbr -a -g rm trash
|
||||
abbr -a -g nvim /home/mo/bin/nvim/bin/nvim
|
||||
|
||||
## Safety options
|
||||
abbr -a -g cp "cp -i"
|
||||
|
@ -20,7 +21,6 @@ if status is-interactive
|
|||
|
||||
## Default options
|
||||
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
|
||||
set -l sagemath_image docker.io/sagemath/sagemath:latest
|
||||
|
@ -51,7 +51,7 @@ if status is-interactive
|
|||
end
|
||||
|
||||
function ssh -w ssh
|
||||
echo "SSH with kitty"
|
||||
echo "SSH with Kitty"
|
||||
kitty +kitten ssh $argv
|
||||
end
|
||||
|
||||
|
@ -67,6 +67,14 @@ if status is-interactive
|
|||
bat $argv
|
||||
end
|
||||
|
||||
function lg -w lazygit
|
||||
lazygit $argv
|
||||
end
|
||||
|
||||
function onefetch -w onefetch
|
||||
onefetch --no-palette $argv
|
||||
end
|
||||
|
||||
## Taskwarrior
|
||||
function ta -w task -d "Add no priority task"
|
||||
task add project:$argv[1] $argv[2..]
|
||||
|
|
Loading…
Reference in a new issue