📜  添加别名 fish shell - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:37.311000             🧑  作者: Mango

代码示例1
# 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