tweet:2021:0427_01
shell関連メモ
- ash/yash/bash/zshで定義済み関数一覧を出力する
typeset -f - ash/yash/bash/zshで関数名だけ抜き出す
typeset -f | grep '.*()[ ]*[{]*' | tr -d “() {” - ash/yash/bash/zshで関数を消す
unset -f [funcname]
個人的なtmux memo
login時にtmuxを起動する(もし起動してたらattachする)ようにしているので、iTerm2でTab2枚目を作成すると問答無用でtmuxがattachされてしまう。 ちょっと困るので、自分の設定ベースだがメモ。
-
^x^z - Suspend the current client
-
^x^d - Detach the current client
-
^x D - Choose a client from a list
-
^x ( - Switch to previous client
-
^x ( - Switch to next client
-
^x c - Create new Window
-
^x n - Switch to next window
-
^x p - Switch to previous window
-
^x w - Choose a window from a list
tmuxは起動時に「tmux server」と「tmux client」を起動するので、psすると2つのprocessが見える。
tweet/2021/0427_01.txt · 最終更新: by seirios
