転載・引用について

ユーザ用ツール

サイト用ツール


tweet:2021:0427_01

差分

このページの2つのバージョン間の差分を表示します。


tweet:2021:0427_01 [2021/04/28 00:15] (現在) – 作成 - 外部編集 127.0.0.1
行 1: 行 1:
 +====== 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.1619533324.txt.gz · 最終更新: 2021/04/27 23:25 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki