Add Fish configuration 🎉
This commit is contained in:
parent
7f12097e60
commit
5142b3493f
4 changed files with 26 additions and 0 deletions
5
.config/fish/config_manjaro.fish
Normal file
5
.config/fish/config_manjaro.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# COLORED MANUALS
|
||||||
|
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||||
|
|
||||||
|
# SSH
|
||||||
|
fish_ssh_agent
|
5
.config/fish/config_ubuntu.fish
Normal file
5
.config/fish/config_ubuntu.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# COLORED MANUALS
|
||||||
|
set -x MANPAGER "sh -c 'col -bx | batcat -l man -p'"
|
||||||
|
|
||||||
|
# SSH
|
||||||
|
fish_ssh_agent
|
9
.config/fish/config_wsl.fish
Normal file
9
.config/fish/config_wsl.fish
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# NAS
|
||||||
|
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000
|
||||||
|
sudo mount -t drvfs 'Z:' /mnt/z -o metadata,uid=1000,gid=1000
|
||||||
|
|
||||||
|
# COLORED MANUALS
|
||||||
|
set -x MANPAGER "sh -c 'col -bx | batcat -l man -p'"
|
||||||
|
|
||||||
|
# SSH
|
||||||
|
fish_ssh_agent
|
7
.config/fish/functions/fish_prompt.fish
Normal file
7
.config/fish/functions/fish_prompt.fish
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
function fish_prompt --description 'Screen Savvy prompt'
|
||||||
|
if test -z "$WINDOW"
|
||||||
|
printf '%s%s@%s%s%s%s%s> ' (set_color yellow) $USER (set_color purple) (prompt_hostname) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
||||||
|
else
|
||||||
|
printf '%s%s@%s%s%s(%s)%s%s%s> ' (set_color yellow) $USER (set_color purple) (prompt_hostname) (set_color white) (echo $WINDOW) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue