dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 80997ffe373ff19fe39e5fc907342aa1de46c9d2
parent e454cd0aac5b013e644fda45818bb9621121d501
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun,  3 Jun 2018 22:09:02 -0400

Rename tmux window to idkfa, accept zsh suggestion with ctrl+space

Diffstat:
Mlinks/.zshrc | 3++-
Mlinks/bin/idkfa-ssh | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/links/.zshrc b/links/.zshrc @@ -49,7 +49,8 @@ bindkey "^j" history-beginning-search-backward bindkey "^k" history-beginning-search-forward bindkey '^P' up-line-or-search bindkey '^N' down-line-or-search -bindkey '^ ' autosuggest-accept # accept suggestion with ctrl+space +#bindkey '^ ' autosuggest-accept # accept suggestion with ctrl+space +bindkey '^ ' autosuggest-execute # accept suggestion with ctrl+space # use Ctrl-Z as fg _foreground() { diff --git a/links/bin/idkfa-ssh b/links/bin/idkfa-ssh @@ -3,6 +3,7 @@ set -e remotecommand='tmux attach' host=idkfa.ucsd.edu user=ad +tmux rename-window idkfa if [ "$1" = "-s" ]; then ssh -X $user@$host -t $remotecommand elif [ "$1" = "-a" ]; then