-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Commit
- Cleans out aliases.zsh. - Removes unneeded cd function.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
# Push and pop directories on directory stack | ||
alias pu='pushd' | ||
alias po='popd' | ||
|
||
# Basic directory operations | ||
alias ...='cd ../..' | ||
alias -- -='cd -' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mcornella
Member
|
||
|
||
# Super user | ||
alias _='sudo' | ||
alias please='sudo' | ||
|
@@ -25,11 +17,6 @@ then | |
else | ||
alias history='fc -l 1' | ||
fi | ||
# List direcory contents | ||
alias lsa='ls -lah' | ||
alias l='ls -lah' | ||
alias ll='ls -lh' | ||
alias la='ls -lAh' | ||
|
||
alias afind='ack-grep -il' | ||
|
4 comments
on commit 25b1cd6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The h
flags in ll
, la
and l
are lost during this "clean out". Shall we bring them back?
This surprises me when I see file sizes in bytes instead of human readable text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you @msg7086, I didn't take the time to review the exact aliases. I'll submit a PR soon enough!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created pull request #3591.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Why did you remove the very useful
-
alias to return to the last directory?