i3-emacs-dir-term 153 B

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