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

39 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
2021-11-08 16:46:03 +01:00
# 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
2021-11-08 15:32:55 +01:00
# COULEUR MANUELS
set -x MANPAGER "sh -c 'col -bx | batcat -l man -p'"
# SSH
fish_ssh_agent
# Raccourcis
abbr ls 'ls -lh'
2021-11-08 15:32:55 +01:00
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
2021-11-08 21:54:09 +01:00
abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh'
# && sudo flatpak update'
2021-11-08 15:32:55 +01:00
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