Add fish config
This commit is contained in:
parent
248dc911c0
commit
3f8af57381
1 changed files with 18 additions and 0 deletions
18
.config/fish/config.fish
Executable file
18
.config/fish/config.fish
Executable file
|
@ -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
|
Loading…
Reference in a new issue