Skip to content

Commit

Permalink
Merge branch 'redefine-open' into 'master'
Browse files Browse the repository at this point in the history
fix: open flags changed on code-server

See merge request infralovers/dotfiles!3
  • Loading branch information
mabunixda committed Nov 24, 2020
2 parents 75106f2 + 915a0f2 commit b35bbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .functions
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

open() {
if [ -f "$1" ] && [ code-server >/dev/null 2>&1 ]; then
/usr/bin/code-server --open $1
/usr/bin/code-server --reuse-window $1
return
fi
/usr/bin/open $@
Expand Down

0 comments on commit b35bbff

Please sign in to comment.