files/root/.bashrc
zhao 13cab4e1a2 更新 root/.bashrc
Signed-off-by: zhao <zj18139624826@gmail.com>
2024-12-23 23:47:42 +08:00

23 lines
441 B
Bash

# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "$(dircolors)"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
autoload -U compinit && compinit
if [ -x /bin/ZeroWrt ]; then
/bin/ZeroWrt
fi