projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zshrc: drop insecure options from curl/wget cmdlines in simple-extract()
[grml-etc-core.git]
/
etc
/
minimal-shellrc
diff --git
a/etc/minimal-shellrc
b/etc/minimal-shellrc
index
68dccdf
..
23aa9a2
100644
(file)
--- a/
etc/minimal-shellrc
+++ b/
etc/minimal-shellrc
@@
-29,9
+29,9
@@
set -o bgnice \
-o trackall
# aliases for various command shortcuts
-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
alias pu='ps -fu $USER'
## Keybindings
@@
-43,7
+43,8
@@
if [[ -x $(which infocmp) ]] && [[ -x $(which sed) ]] ; then
while read -r line ; do
key="${line%=*}"
[[ "${key}" != k* ]] && continue
while read -r line ; do
key="${line%=*}"
[[ "${key}" != k* ]] && continue
- seq="$(print "${line#*=}")"
+ 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' ;;
key_right) bind "${seq}"='forward-char' ;;
case "$key" in
key_left) bind "${seq}"='backward-char' ;;
key_right) bind "${seq}"='forward-char' ;;