Skip to content

Instantly share code, notes, and snippets.

@olemb
Created September 2, 2011 17:29
Show Gist options
  • Save olemb/1189232 to your computer and use it in GitHub Desktop.
Save olemb/1189232 to your computer and use it in GitHub Desktop.
Open nautilus in current directory by default
#!/bin/sh
#
# Open nautilus in current directory by default
#
if [ -z $* ]; then
nautilus .
else
nautilus $*
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment