fish: initial commit
This commit is contained in:
3
.config/fish/config.fish
Normal file
3
.config/fish/config.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
set -x EDITOR vim
|
||||
set -x PAGER less
|
||||
set -x fish_prompt_pwd_dir_length 1
|
||||
11
.config/fish/functions/fish_prompt.fish
Normal file
11
.config/fish/functions/fish_prompt.fish
Normal file
@@ -0,0 +1,11 @@
|
||||
function fish_prompt
|
||||
set test $status
|
||||
set_color -o green
|
||||
echo -n (hostname)
|
||||
set_color normal
|
||||
echo -n ':'
|
||||
set_color -o blue
|
||||
prompt_pwd | tr -d '\n'
|
||||
set_color normal
|
||||
echo -n " $test\$ "
|
||||
end
|
||||
4
.config/fish/functions/mark.fish
Normal file
4
.config/fish/functions/mark.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function mark
|
||||
eval printf "\%0{$COLUMNS}d" | sed -e "s/0/=/g" | lolcat
|
||||
eval printf "\%0{$COLUMNS}d" | sed -e "s/0/=/g" | lolcat
|
||||
end
|
||||
Reference in New Issue
Block a user