38 lines
1.3 KiB
Fish
38 lines
1.3 KiB
Fish
# NAS -- think about creating following folders : 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
|
|
|
|
# COLORED MANUALS
|
|
set -x MANPAGER "sh -c 'col -bx | batcat -l man -p'"
|
|
|
|
# SSH
|
|
fish_ssh_agent
|
|
|
|
# Shortcuts
|
|
abbr ls 'ls -lh'
|
|
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
|