Merge branch 'master' of gitee.com:klesh/dotfiles

This commit is contained in:
Klesh Wong 2021-07-05 13:55:00 +08:00
commit 1eba0df573
4 changed files with 38 additions and 7 deletions

17
bin/ssh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
#if test -n "$TMUX"
#tmux rename-window $argv[-1]
#/bin/ssh $argv
#
#end
tmux_auto_rename() {
tmux setw automatic-rename
}
[ -n "$TMUX" ] && trap tmux_auto_rename INT
[ -n "$TMUX" ] && tmux rename-window "${@:-1}"
/bin/ssh "$@"
[ -n "$TMUX" ] && tmux_auto_rename

View File

@ -66,12 +66,12 @@ if status is-interactive
# === auto cd into last activated directory # === auto cd into last activated directory
test "$PWD" = "$HOME" && cd $last_pwd test "$PWD" = "$HOME" && cd $last_pwd
if test -n "$TMUX" #if test -n "$TMUX"
function ssh #function ssh
tmux rename-window $argv[-1] #tmux rename-window $argv[-1]
command ssh $argv #command ssh $argv
tmux setw automatic-rename #tmux setw automatic-rename
end #end
end #end
end end

View File

@ -17,7 +17,9 @@ cmd pasteoverwrite %{{
lf -remote 'send clear' lf -remote 'send clear'
}} }}
cmd e $$EDITOR "$@" cmd e $$EDITOR "$@"
cmd setexecutable %chmod +x "$f"
map Yp copyfilepath map Yp copyfilepath
map Yn copyfilename map Yn copyfilename
map P pasteoverwrite map P pasteoverwrite
map X setexecutable

12
gui/thunderbird.md Normal file
View File

@ -0,0 +1,12 @@
# Office365
## MFA
- Change authentication method to __OAuth2__ and you are good to go
# Calendar
- tbsync
- provider for caldav & carddav: for nextcloud synchronization
- provider for exchange activesync: for outlook synchronization