aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish34
1 files changed, 0 insertions, 34 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
deleted file mode 100644
index 82fdbde..0000000
--- a/.config/fish/config.fish
+++ /dev/null
@@ -1,34 +0,0 @@
-# Disable greeting
-set -g fish_greeting
-
-abbr -a gs git status
-abbr -a gc git commit
-abbr -a ga git add
-abbr -a gd git diff
-abbr -a gds git diff --staged
-abbr -a gp git push
-abbr -a gpo git push origin
-abbr -a gpl git pull
-abbr -a gplrb git pull --rebase
-abbr -a gl git log
-abbr -a gv "git log --graph --decorate --oneline"
-abbr -a gch git checkout
-abbr -a gcb "git checkout -b"
-
-abbr -a l "ls -al"
-
-function auto_venv --on-variable PWD
- if test -n "$VIRTUAL_ENV"
- set parentdir (dirname "$VIRTUAL_ENV")
- if not string match -q "$parentdir/*" "$PWD"
- if functions -q deactivate
- deactivate
- end
- end
- end
- if test -z "$VIRTUAL_ENV"
- if test -f "$PWD/.venv/bin/activate.fish"
- source "$PWD/.venv/bin/activate.fish"
- end
- end
-end