summaryrefslogtreecommitdiff
path: root/fish/.config
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-07-24 23:51:16 +0200
committerJulian T <julian@jtle.dk>2020-07-24 23:51:16 +0200
commit320ea7569a64175198588e0941e580eec3ec7150 (patch)
tree79f3e9a9c5afa52ff1229056c4c046e68a832a9c /fish/.config
parent36ad10d27be3e7b5e27f443c46fff3f4df610c0c (diff)
Added fish shell config
Diffstat (limited to 'fish/.config')
-rw-r--r--fish/.config/fish/config.fish16
1 files changed, 16 insertions, 0 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
new file mode 100644
index 0000000..6b6cb53
--- /dev/null
+++ b/fish/.config/fish/config.fish
@@ -0,0 +1,16 @@
+# Vim stuff
+alias vim "nvim"
+set -x EDITOR nvim
+set -x SUDO_EDITOR nvim
+
+# Path
+set -x PATH $PATH $HOME/go/bin
+
+# Functions
+function gittr
+ if test (count $argv) -lt 1
+ git push -u origin HEAD
+ else
+ git push -u $argv[1] HEAD
+ end
+end