Add Fish configuration 🎉

This commit is contained in:
Mylloon 2022-03-30 19:29:58 +02:00
parent 7f12097e60
commit 5142b3493f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,5 @@
# COLORED MANUALS
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
# SSH
fish_ssh_agent

View file

@ -0,0 +1,5 @@
# COLORED MANUALS
set -x MANPAGER "sh -c 'col -bx | batcat -l man -p'"
# SSH
fish_ssh_agent

View 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

View 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