Skip to content

Instantly share code, notes, and snippets.

@TiddoLangerak
Created September 29, 2015 07:29
Show Gist options
  • Select an option

  • Save TiddoLangerak/c347fdece8c048f246d4 to your computer and use it in GitHub Desktop.

Select an option

Save TiddoLangerak/c347fdece8c048f246d4 to your computer and use it in GitHub Desktop.

Revisions

  1. Tiddo Langerak created this gist Sep 29, 2015.
    9 changes: 9 additions & 0 deletions localTerminal
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/bin/bash
    # See https://gist.github.com/TiddoLangerak/c61e1e48df91192f9554 for the getCurrentWindowCWD
    CWD=$(getCurrentWindowCWD)
    if [ -z "$CWD" ]
    then
    CWD=$HOME
    fi

    urxvt256c-ml -cd $CWD