mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Get aliases even in non-interactive shells.
This commit is contained in:
3
aliases
3
aliases
@@ -21,3 +21,6 @@ alias mdcode="sed 's/^/ /'"
|
|||||||
|
|
||||||
# Intel format plz
|
# Intel format plz
|
||||||
alias objdump="command objdump -M intel"
|
alias objdump="command objdump -M intel"
|
||||||
|
|
||||||
|
# Color support in less
|
||||||
|
alias less="command less -R"
|
||||||
|
|||||||
3
profile
3
profile
@@ -9,6 +9,7 @@ if [ -n "$BASH_VERSION" ]; then
|
|||||||
if [ -f "$HOME/.bashrc" ]; then
|
if [ -f "$HOME/.bashrc" ]; then
|
||||||
. "$HOME/.bashrc"
|
. "$HOME/.bashrc"
|
||||||
fi
|
fi
|
||||||
|
shopt -s expand_aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Paths and preferences
|
# Paths and preferences
|
||||||
@@ -41,4 +42,4 @@ export GPG_TTY=`tty`
|
|||||||
# End GPG
|
# End GPG
|
||||||
|
|
||||||
if [ -e $HOME/.localenv ] ; then source $HOME/.localenv ; fi
|
if [ -e $HOME/.localenv ] ; then source $HOME/.localenv ; fi
|
||||||
if [[ $- == *i* ]] && [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
|
if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user