This commit is contained in:
Klesh Wong 2021-07-02 06:51:14 +08:00
parent 041e4b5fc5
commit ce5e68d2ee
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
test "$PWD" = "$HOME" && cd $last_pwd
if test -n "$TMUX"
function ssh
tmux rename-window $argv[-1]
command ssh $argv
tmux setw automatic-rename
end
end
#if test -n "$TMUX"
#function ssh
#tmux rename-window $argv[-1]
#command ssh $argv
#tmux setw automatic-rename
#end
#end
end

View File

@ -17,7 +17,9 @@ cmd pasteoverwrite %{{
lf -remote 'send clear'
}}
cmd e $$EDITOR "$@"
cmd setexecutable %chmod +x "$f"
map Yp copyfilepath
map Yn copyfilename
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