summaryrefslogtreecommitdiff
path: root/.config/fish
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2021-11-24 02:02:25 -0500
committerseth <[email protected]>2022-08-04 04:40:17 -0400
commit944b6db89ae715d93d0804a6a2358dcab88f1c07 (patch)
tree5244d9f5ddf4f8a661e17c184fbadf2e553dbd43 /.config/fish
initial bare repo commit
Diffstat (limited to '.config/fish')
-rw-r--r--.config/fish/config.fish14
-rw-r--r--.config/fish/functions/ls.fish3
-rw-r--r--.config/fish/functions/vim.fish3
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