Commit b7b2dd58 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #806 from OutPunk/terminalapp-plugin

Apple Terminal.app resume directory plugin
parents a11c8142 a28b8889
# Set Apple Terminal.app resume directory
# based on this answer: http://superuser.com/a/315029
function chpwd {
local SEARCH=' '
local REPLACE='%20'
local PWD_URL="file://$HOSTNAME${PWD//$SEARCH/$REPLACE}"
printf '\e]7;%s\a' "$PWD_URL"
}
chpwd
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment