From 16d9c9b519bde3df067ab3dbd7084805278de950 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Mon, 10 Jun 2019 22:16:40 -0400 Subject: [PATCH] FRIENDSHIP ENDED WITH ZSH NOW FISH IS BEST FRIEND --- files | 2 +- scripts/path.sh | 2 +- terminal/fish | 20 ++++++++++++++++++++ terminal/{zshrc => zshrc.old} | 0 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 terminal/fish rename terminal/{zshrc => zshrc.old} (100%) diff --git a/files b/files index 967bb6c..f415f40 100644 --- a/files +++ b/files @@ -11,7 +11,7 @@ network/sharenix.json ~/.sharenix.json scripts ~/src/scripts/* scripts/bookmark_get.ps1 /mnt/d/w2/Output/_dlscr/bookmark_get.ps1 terminal/kitty.conf ~/.config/kitty/kitty.conf -terminal/zshrc ~/.zshrc +terminal/fish ~/.config/fish/config.fish themes ~/.slade3/text_styles/* themes/ripcord.json ~/.local/share/Ripcord/custom_theme.json vim/vimrc ~/.vimrc diff --git a/scripts/path.sh b/scripts/path.sh index 9a0f212..6c5c934 100644 --- a/scripts/path.sh +++ b/scripts/path.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -export PATH=$HOME/.local/bin:$PATH +export PATH=$HOME/.local/bin:$HOME/.gem/ruby/2.6.0/bin:$PATH export DOOMWADDIR=/mnt/d/Stuff/GamesPC/IWads diff --git a/terminal/fish b/terminal/fish new file mode 100644 index 0000000..a67d037 --- /dev/null +++ b/terminal/fish @@ -0,0 +1,20 @@ +if status is-interactive + and not status is-login + and test -z "$TMUX" + + exec tmux new-session +end + +function fish_prompt + set_color purple + echo (hostname)"% " +end + +function fish_greeting + echo "Word of the moment: "(shuf -n1 /usr/share/dict/words) | + awk -f ~/src/scripts/mid.awk col=$COLUMNS +end + +alias rebuild $HOME/src/scripts/rebuild.sh + +## EOF diff --git a/terminal/zshrc b/terminal/zshrc.old similarity index 100% rename from terminal/zshrc rename to terminal/zshrc.old