diff --git a/fish/clean.sh b/fish/clean.sh new file mode 100644 index 0000000..08909d7 --- /dev/null +++ b/fish/clean.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +rm -rf ~/.config/fish/conf.d diff --git a/fish/conf.d/aliases.fish b/fish/conf.d/aliases.fish new file mode 100644 index 0000000..e94061b --- /dev/null +++ b/fish/conf.d/aliases.fish @@ -0,0 +1,11 @@ +# Nvim and vim aliases +if command -qv nvim + alias v 'nvim' + alias vi 'nvim' + alias vim 'nvim' + alias nvi 'nvim' +else + alias v 'vim' + alias vi 'vim' + alias nvi 'vim' +end diff --git a/fish/install.sh b/fish/install.sh new file mode 100644 index 0000000..aaf4ea5 --- /dev/null +++ b/fish/install.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +rm -rf ~/.config/fish/conf.d +ln -s $HOME/dotfiles/fish/conf.d $HOME/.config/fish/conf.d