thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.99k stars 1.86k forks source link

✨ Add a Downloads alias #734

Closed purinkle closed 11 months ago

purinkle commented 12 months ago

Before, it was a challenge to remember how to navigate to the Downloads directory. We wasted time trying to figure out the correct path. We added a simple dl alias to simplify the process.

mikegee commented 12 months ago

Given one adds $HOME to their CDPATH, and with autocd enabled (as it is in these dotfiles), changing to your Downloads folder is already dow<tab><enter>.

I disagree with adding this alias. It seems more like personal preference that belongs in your .aliases.local.

purinkle commented 12 months ago

@mikegee, thanks for commenting. I appreciate you taking the time to disagree.

I've been upstreaming things from my personal dotfiles until I get some pushback, so thank you!

Now I know the limit.

Do you feel the same about the Desktop alias?

For argument's sake, I would say that dl is less keystrokes than dow<tab><enter>.

What do you think?

Also, how do you get tab completion to work with downcase dow?

I have to type Dow.

mikegee commented 11 months ago

Do you feel the same about the Desktop alias?

Yes

For argument's sake, I would say that dl is less keystrokes than dow<tab><enter>.

Indeed it is. It also introduces a new idea. Autocompleting an existing command is well-established.

Also, how do you get tab completion to work with downcase dow?

I have to type Dow.

I was wrong about that.

Either way, this change to these dotfiles is insignificant. We're talking about it more than it matters :) Feel free to merge if you like it.

purinkle commented 11 months ago

I'm closing this pull request in line with @mikegee's comments.

These changes are more of a personal preference and are outside the scope of a generic set of dotfiles.