diff --git a/bin/ssh b/bin/ssh new file mode 100755 index 0000000..67e4196 --- /dev/null +++ b/bin/ssh @@ -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 diff --git a/cli/fish/config.fish b/cli/fish/config.fish index bc06c8b..faed575 100644 --- a/cli/fish/config.fish +++ b/cli/fish/config.fish @@ -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 diff --git a/cli/lf/lfrc b/cli/lf/lfrc index 8a12a28..a245597 100644 --- a/cli/lf/lfrc +++ b/cli/lf/lfrc @@ -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 diff --git a/gui/thunderbird.md b/gui/thunderbird.md new file mode 100644 index 0000000..3600759 --- /dev/null +++ b/gui/thunderbird.md @@ -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