i3-emacs-dir-term 149 B

123456
  1. #!/bin/sh
  2. DIRECTORY=$(emacsclient --eval "(with-current-buffer (other-buffer) default-directory)" | awk -F\" -e '{print $2}')
  3. cd $DIRECTORY
  4. urxvtc