alpine/skel/etc/profile
Joe Groocock 90548d3f0f
Fix correct PAGER and EDITOR variable paths
Busybox defines `vi` and `less` to be in `usr/bin`
2018-06-11 17:35:30 +01:00

23 lines
428 B
Bash

export PAGER='/usr/bin/less -R'
export EDITOR='/usr/bin/vi'
export PS1='\e[1;36m\u@\h\e[0m \e[0;32m$(ppwd)\e[0m> '
# Source configuration files from /etc/profile.d
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
unset i
done
# Common interactive aliases
alias ls='ls --color=auto -Fh'
alias ll='ls -l'
alias la='ls -la'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
alias md='mkdir'
alias dd='rmdir'