Commits

Nicola Paolucci committed cdd5819

[bash] adding bash shortcut to open scratch file

  • Participants
  • Parent commits 891ecdc

Comments (0)

Files changed (1)

   esac
 }
 
+#open a scratch file in Dropbox
+function sc {
+  gvim ~/Dropbox/$(openssl rand -base64 10 | tr -dc 'a-zA-Z').txt
+}
+function scratch {
+  gvim ~/Dropbox/$(openssl rand -base64 10 | tr -dc 'a-zA-Z').txt
+}
+
 # }}}
 # Linux specific config {{{
 if [ $(uname) == "Linux" ]; then