From 320ea7569a64175198588e0941e580eec3ec7150 Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 24 Jul 2020 23:51:16 +0200 Subject: Added fish shell config --- fish/#pre_stow.sh# | 3 +++ fish/.config/fish/config.fish | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 fish/#pre_stow.sh# create mode 100644 fish/.config/fish/config.fish (limited to 'fish') 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 -- cgit v1.2.3