My scripts for startup, dmenu, and the command line
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
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