Loading

bashrc部分常用设置

# ls options
export LS_OPTIONS='--color=auto'
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'

# log and search
export HISTCONTROL=ignoreboth
if [[ $- == *i* ]]
then
    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'
fi
posted @ 2021-04-08 10:22  dylanchu  阅读(226)  评论(0编辑  收藏  举报