Skip to content

Commit

Permalink
Add an ... alias for quicker navigation
Browse files Browse the repository at this point in the history
Before, we would have to use eight keystrokes to move up two directories
in the terminal. We wasted so much unnecessary time. We added an `...`
alias to reduce the keystrokes and gain productivity.
  • Loading branch information
purinkle committed Nov 2, 2023
1 parent 5339ddd commit 389f8c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -224,6 +224,7 @@ configuration:

Shell aliases and scripts:

- `...` for quicker navigation to the parent's parent directory.
- `b` for `bundle`.
- `g` with no arguments is `git status` and with arguments acts like `git`.
- `migrate` for `bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare`.
Expand Down
3 changes: 3 additions & 0 deletions aliases
Expand Up @@ -15,6 +15,9 @@ alias s="rspec"
# Pretty print the path
alias path='echo $PATH | tr -s ":" "\n"'

# Easier navigation: ...
alias ...="cd ../.."

# Include custom aliases
if [[ -f ~/.aliases.local ]]; then
source ~/.aliases.local
Expand Down

0 comments on commit 389f8c4

Please sign in to comment.