diff options
author | axel <axel@liljencrantz.se> | 2006-01-27 02:01:19 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-27 02:01:19 +1000 |
commit | 877b602d6bded48898e3e2bdd944c853cdb4f7b4 (patch) | |
tree | bc8b965a1d9a3d6be8ed371a176843b8c4596316 /init | |
parent | 37eb6c340d52303ad5a9b37b49f1389225dc3b89 (diff) |
Fix bug in debian specific kill completions
darcs-hash:20060126160119-ac50b-1d1b5c248753f4c0ac77a838ea36eeb87473dbe9.gz
Diffstat (limited to 'init')
-rw-r--r-- | init/completions/kill.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/completions/kill.fish b/init/completions/kill.fish index 7098736e..b36838fc 100644 --- a/init/completions/kill.fish +++ b/init/completions/kill.fish @@ -7,7 +7,7 @@ if kill -L ^/dev/null >/dev/null complete -c kill -s L -d "List codes and names of available signals" - set -- signals (kill -L | sed -e 's/\([0-9][0-9]*\) *([A-Z,0-9][A-Z,0-9]*\)/\1 \2\n/g;s/ +/ /g' | sed -e 's/^ //' | grep -E '^[^ ]+') + set -- signals (kill -L | sed -e 's/\([0-9][0-9]*\) *\([A-Z,0-9][A-Z,0-9]*\)/\1 \2\n/g;s/ +/ /g' | sed -e 's/^ //' | grep -E '^[^ ]+') for i in $signals set -- number (echo $i | cut -d " " -f 1) set -- name (echo $i | cut -d " " -f 2) |