My scripts for startup, dmenu, and the command line
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

11 行
198 B

  1. #!/bin/sh
  2. if ! { [ "$TERM" = "tmux-256color" ] && [ -n "$TMUX" ]; } then
  3. # Remove option --tab for new window
  4. st -e vim "$*"
  5. else
  6. # tmux session running
  7. tmux -u split-window "vim \"$*\""
  8. fi