summaryrefslogtreecommitdiff
path: root/fish
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
parent36ad10d27be3e7b5e27f443c46fff3f4df610c0c (diff)
Added fish shell config
Diffstat (limited to 'fish')
-rw-r--r--fish/#pre_stow.sh#3
-rw-r--r--fish/.config/fish/config.fish16
2 files changed, 19 insertions, 0 deletions
diff --git a/fish/#pre_stow.sh# b/fish/#pre_stow.sh#
new file mode 100644
index 0000000..416dd9a
--- /dev/null
+++ b/fish/#pre_stow.sh#
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+mkdir -p ~/.config/fish
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