fix using fish commands in bash
This commit is contained in:
parent
3bd65df8f0
commit
54fa0ba864
1 changed files with 8 additions and 8 deletions
|
@ -47,14 +47,14 @@ fish -c 'set -U fish_pager_color_prefix normal --bold --underline'
|
||||||
fish -c 'set -U fish_pager_color_progress brwhite --background=cyan'
|
fish -c 'set -U fish_pager_color_progress brwhite --background=cyan'
|
||||||
|
|
||||||
# Adding abbrevations
|
# Adding abbrevations
|
||||||
abbr ls 'ls -lh'
|
fish -c "abbr ls 'ls -lh'"
|
||||||
abbr cp 'cp -r'
|
fish -c "abbr cp 'cp -r'"
|
||||||
abbr rm 'rm -rf'
|
fish -c "abbr rm 'rm -rf'"
|
||||||
abbr gcc 'gcc -Wall -Wextra -fanalyzer -g'
|
fish -c "abbr gcc 'gcc -Wall -Wextra -fanalyzer -g'"
|
||||||
abbr activate 'source bin/activate.fish'
|
fish -c "abbr activate 'source bin/activate.fish'"
|
||||||
abbr vs 'code .'
|
fish -c "abbr vs 'code .'"
|
||||||
abbr untgz 'tar -xvzf'
|
fish -c "abbr untgz 'tar -xvzf'"
|
||||||
abbr cd.. 'cd ..'
|
fish -c "abbr cd.. 'cd ..'"
|
||||||
if grep "WSL" /proc/version > /dev/null; # Only for WSL
|
if grep "WSL" /proc/version > /dev/null; # Only for WSL
|
||||||
then
|
then
|
||||||
abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo do-release-upgrade'
|
abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo do-release-upgrade'
|
||||||
|
|
Reference in a new issue