diff options
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/config.fish | 14 | ||||
| -rw-r--r-- | .config/fish/functions/ls.fish | 3 | ||||
| -rw-r--r-- | .config/fish/functions/vim.fish | 3 |
3 files changed, 20 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..95657c5 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,14 @@ +#!/bin/fish + +# defaults +set -Ux VISUAL nvim +set -Ux EDITOR nvim +set -Ux GIT_PAGER moar +set -Ux PAGER moar + +# abbrs +abbr dotfiles 'git --git-dir=$HOME/.cfg/ --work-tree=$HOME' +abbr orphans 'sudo pacman -Rns (pacman -Qtdq)' + +# prompt +starship init fish | source diff --git a/.config/fish/functions/ls.fish b/.config/fish/functions/ls.fish new file mode 100644 index 0000000..9d08de4 --- /dev/null +++ b/.config/fish/functions/ls.fish @@ -0,0 +1,3 @@ +function ls + exa $argv +end diff --git a/.config/fish/functions/vim.fish b/.config/fish/functions/vim.fish new file mode 100644 index 0000000..f0a542e --- /dev/null +++ b/.config/fish/functions/vim.fish @@ -0,0 +1,3 @@ +function vim + nvim $argv +end |
