mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-15 08:01:43 +00:00
Simplify a few for loops
This commit is contained in:
@ -19,8 +19,5 @@ unsetopt CLOBBER # Don't overwrite existing files with > and >>.
|
||||
# Use >! and >>! to bypass.
|
||||
|
||||
# Aliases
|
||||
for index in {1..9}; do
|
||||
alias "$index"="cd +${index}"
|
||||
done
|
||||
unset index
|
||||
for index ({1..9}) alias "$index"="cd +${index}"; unset index
|
||||
|
||||
|
Reference in New Issue
Block a user