Merge branch 'master' of gitee.com:klesh/dotfiles
This commit is contained in:
commit
1eba0df573
17
bin/ssh
Executable file
17
bin/ssh
Executable 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
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
12
gui/thunderbird.md
Normal 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
|
Loading…
Reference in New Issue
Block a user