From fb50593834e5e9fe5b1ff8a04469f327ee0c0530 Mon Sep 17 00:00:00 2001 From: Andrejus Date: Tue, 27 Apr 2021 17:29:19 +0100 Subject: [PATCH] Restore config.fish, bump gitignore/utils --- files/home/.config/fish/.gitignore | 2 ++ files/home/.config/fish/config.fish | 17 +++++++++++++++++ files/home/.config/fish/fish_plugins | 1 - scripts/_utils.sh | 1 + 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 files/home/.config/fish/.gitignore create mode 100644 files/home/.config/fish/config.fish diff --git a/files/home/.config/fish/.gitignore b/files/home/.config/fish/.gitignore new file mode 100644 index 0000000..a94e2fd --- /dev/null +++ b/files/home/.config/fish/.gitignore @@ -0,0 +1,2 @@ +functions +!functions/nvm.fish diff --git a/files/home/.config/fish/config.fish b/files/home/.config/fish/config.fish new file mode 100644 index 0000000..b47f13e --- /dev/null +++ b/files/home/.config/fish/config.fish @@ -0,0 +1,17 @@ +# Only execute in interactive shell +if status is-interactive + + # Fish specific + set fish_greeting + set --global hydro_symbol_prompt "\$" + set --global hydro_symbol_git_dirty "~" + if type -q base16-seti + base16-seti + end + + # Cross-shell setup + if begin; test -e $HOME/.profile; and type -q replay; end + replay "source $HOME/.profile" + end + +end diff --git a/files/home/.config/fish/fish_plugins b/files/home/.config/fish/fish_plugins index 85cb5ec..949607f 100644 --- a/files/home/.config/fish/fish_plugins +++ b/files/home/.config/fish/fish_plugins @@ -4,4 +4,3 @@ jorgebucaran/replay.fish joseluisq/gitnow tomyun/base16-fish PatrickF1/fzf.fish -jorgebucaran/fisher diff --git a/scripts/_utils.sh b/scripts/_utils.sh index 1406e50..e2ea0ef 100755 --- a/scripts/_utils.sh +++ b/scripts/_utils.sh @@ -83,5 +83,6 @@ function stow_package { ;; esac + echo "Stowing $ABS_DIR/files/$name to $target" sudo stow --dir="$ABS_DIR/files" --target=$target $name }