diff --git a/bashrc/worthwhile-functions b/bashrc/worthwhile-functions index 7399052..dbaf2c3 100644 --- a/bashrc/worthwhile-functions +++ b/bashrc/worthwhile-functions @@ -19,7 +19,7 @@ list-debs-size() { edit-script-file() { # if you use other editor, please set $EDITOR. - $(command -v code>>/dev/null && echo code || command -v nano>>/dev/null && echo nano || echo vi) "$(command -v $1)" + $EDITOR "$(command -v $1)" } # reloading stuff diff --git a/tmux/main.conf b/tmux/main.conf index 0ce6dd4..efb7029 100644 --- a/tmux/main.conf +++ b/tmux/main.conf @@ -3,9 +3,7 @@ set-option -g default-shell /bin/zsh # my prefix btw unbind C-b -#set -g prefix M-w -# additional prefix in case we're using the Shelly iOS app -set -g prefix C-W +set -g prefix M-x # make sure we can magically source config changes via +R shortcut. bind r source-file ~/.tmux.conf