1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-17 17:12:00 +00:00

e() defaults to current directory

This commit is contained in:
Holger Just 2014-04-30 11:42:31 +02:00
parent 5122914676
commit e625b6883a

View File

@ -311,7 +311,7 @@ with_project() {
c() { with_project "$1" cd; } c() { with_project "$1" cd; }
# open project in editor # open project in editor
e() { with_project "$1" "$BACKGROUND_EDITOR"; } e() { with_project "${1:-.}" "$BACKGROUND_EDITOR"; }
# Enable programmable completion features. # Enable programmable completion features.
if [[ -f /etc/bash_completion ]]; then . /etc/bash_completion; fi if [[ -f /etc/bash_completion ]]; then . /etc/bash_completion; fi