summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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