From 3f8af573819e4fb74512f2a079caf007dcb01bc7 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 9 Dec 2011 01:37:25 +0100 Subject: [PATCH] Add fish config --- .config/fish/config.fish | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 .config/fish/config.fish diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100755 index 0000000..0cd7cd9 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,18 @@ +#! /bin/bash +function fish_prompt -d "Write out the prompt" + printf '(%s%s %s%s%s)> ' (set_color 'magenta') (hostname|cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal) +end + +function cower + /usr/bin/cower --color=always --target=$HOME/var/aur $argv +end + +function grep + /bin/grep --color=always $argv +end + +function less + /bin/less -FXRS $argv +end + +set PAGER less