1
0

Updates to fish config

This commit is contained in:
Noah 2014-03-03 14:34:14 -08:00
parent 4ed292056c
commit d792ca5f20

View File

@ -3,6 +3,12 @@
# Kirsle's config.fish # Kirsle's config.fish
# Updated: 2014-03-03 # Updated: 2014-03-03
function fish_greeting
echo -s (set_color FF9900) "-== " (fish --version ^&1) " ==-" (set_color normal)
echo -s (set_color FFFF00) " Date: " (set_color FFFFFF) (date) (set_color normal)
echo -s (set_color FFFF00) "Uptime: " (set_color FFFFFF) (uptime) (set_color normal)
end
# Normalize the $PATH. # Normalize the $PATH.
set -gx PATH /usr/sbin /sbin /usr/bin /bin /usr/local/sbin /usr/local/bin $HOME/bin $HOME/go/bin set -gx PATH /usr/sbin /sbin /usr/bin /bin /usr/local/sbin /usr/local/bin $HOME/bin $HOME/go/bin
@ -70,17 +76,17 @@ end
# Color grepping! # Color grepping!
set -gx GREP_COLOR 31 set -gx GREP_COLOR 31
function grep function grep
/bin/grep --exclude=*.min.js --exclude=*.map.js --color=auto /bin/grep --exclude=*.min.js --exclude=*.map.js --color=auto $argv
end end
# ls aliases. Fedora defaults, but here for compatibility # ls aliases. Fedora defaults, but here for compatibility
function ls function ls
/bin/ls --color=auto /bin/ls --color=auto $argv
end end
function ll function ll
/bin/ls -hl --color=auto /bin/ls -hl --color=auto $argv
end end
function ping function ping
/bin/ping -c 10 /bin/ping -c 10 $argv
end end