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:
parent
5122914676
commit
e625b6883a
2
.bashrc
2
.bashrc
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user