This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
manjaroConfiguration/.config/fish/config.fish

38 lines
1.3 KiB
Fish
Raw Normal View History

2021-11-08 15:32:55 +01:00
# NAS -- penser à créer les dossiers : sudo mkdir /mnt/z && sudo mkdir /mnt/z
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
# COULEUR MANUELS
set -x MANPAGER "sh -c 'col -bx | batcat -l man -p'"
# SSH
fish_ssh_agent
# Raccourcis
abbr ls 'ls -lah'
abbr cp 'cp -r'
abbr rm 'rm -rf'
abbr gcc 'gcc -Wall -Wextra -fanalyzer -g'
abbr activate 'source bin/activate.fish'
# abbr sugit 'sudo "GIT_SSH_COMMAND=exec sudo -Hu $LOGNAME SSH_AUTH_SOCK=$SSH_AUTH_SOCK ssh" git'
# abbr sugitfix 'sudo git config core.autocrlf true && sudo git config core.filemode false'
abbr vs 'code .'
abbr untgz 'tar -xvzf'
abbr cd.. 'cd ..'
# Exclu Linux
abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh && sudo flatpak update'
abbr d 'nautilus . > /dev/null 2>&1 &;disown'
abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify > /dev/null 2>&1 &;disown'
# Exclu WSL
# abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo do-release-upgrade'
# abbr d 'explorer.exe .'
# Exclu fac
# abbr bocal 'ssh bocal -t sh'
# GL4Dummies
set -gx PATH $HOME/local/bin $PATH
set -gx LD_LIBRARY_PATH $HOME/local/lib $LD_LIBRARY_PATH
# Exercism
set -gx PATH ~/bin $PATH