qemush : bug avec help à cause de l'alias
This commit is contained in:
parent
7efcf393bd
commit
0eb15d5056
1 changed files with 6 additions and 2 deletions
|
@ -18,9 +18,13 @@ bin="${HOME}/bin"
|
||||||
images=images
|
images=images
|
||||||
PATH="${bin}:${PATH}"
|
PATH="${bin}:${PATH}"
|
||||||
EDITOR="${EDITOR:-nvim}"
|
EDITOR="${EDITOR:-nvim}"
|
||||||
[ -t 1 ] && alias cat='source-highlight -f esc --style-file=esc.style -i'
|
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias exec='exec '
|
alias exec='exec '
|
||||||
|
if [ -t 1 ]; then
|
||||||
|
alias pretty_cat='source-highlight -f esc --style-file=esc.style -i'
|
||||||
|
else
|
||||||
|
alias pretty_cat=cat
|
||||||
|
fi
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
umask 027
|
umask 027
|
||||||
|
|
||||||
|
@ -106,7 +110,7 @@ public_shell() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public_cat() {
|
public_cat() {
|
||||||
exec cat "${bin}/${1}"
|
pretty_cat "${bin}/${1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
public_add() {
|
public_add() {
|
||||||
|
|
Loading…
Reference in a new issue