xxxxxxxxxx
#Fish internally has no aliases.
#The alias thing you are executing is itself a function that simply
#defines functions (see type alias).
#So if you want to skip an alias, use
$ command thething
or
$ builtin thething.
# so for example if I want to skip my ls alias
$ command ls
# and you can always use a command like this to
$ /bin/ls
xxxxxxxxxx
functions --erase name
# replace name with name of alias
# example: alias ls="exa -al"
# want ls not to do "exa -al"
# type: functions --erase ls
#ls now functions as normal ls
xxxxxxxxxx
# Define alias in shell
alias rmi "rm -i"
# Define alias in config file
alias rmi="rm -i"
# This is equivalent to entering the following function:
function rmi
rm -i $argv
end
# Then, to save it across terminal sessions:
funcsave rmi