X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fminimal-shellrc;h=23aa9a2dc881b7d48be375ecbe1320f56f1d3b41;hb=9c33ceaad982adcb8cac0295347af57875719c5f;hp=dec53b5090eba9173df1c506d1527f259b7743ec;hpb=00085f1df9b9da86d01105627f7c42a0669b1e0b;p=grml-etc-core.git diff --git a/etc/minimal-shellrc b/etc/minimal-shellrc index dec53b5..23aa9a2 100644 --- a/etc/minimal-shellrc +++ b/etc/minimal-shellrc @@ -29,9 +29,9 @@ set -o bgnice \ -o trackall # aliases for various command shortcuts -alias ls='ls --color=auto' # we're on grml, so we do have GNU ls. -alias ll='ls -lFb' -alias la='ls -LaFb' +alias ls='command ls --color=auto' # we're on grml, so we do have GNU ls. +alias ll='command ls -l --color=auto' +alias la='command ls -la --color=auto' alias pu='ps -fu $USER' ## Keybindings @@ -43,7 +43,7 @@ if [[ -x $(which infocmp) ]] && [[ -x $(which sed) ]] ; then while read -r line ; do key="${line%=*}" [[ "${key}" != k* ]] && continue - seq="$(printf '%s' "${line#*=}" | sed -e 's,\\\([1-7][0-7]*\),\\0\1,g')" + seq="$(print -r -- "${line#*=}" | sed -e 's,\\\([1-7][0-7]*\),\\0\1,g')" seq="$(print "${seq}")" case "$key" in key_left) bind "${seq}"='backward-char' ;;