18 lines
398 B
Fish
Executable file
18 lines
398 B
Fish
Executable file
#! /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
|