Skip to content

Instantly share code, notes, and snippets.

@umi-uyura
Created September 2, 2016 03:19
Show Gist options
  • Save umi-uyura/9fc4317518c98ce6fb5b03aaed50d141 to your computer and use it in GitHub Desktop.
Save umi-uyura/9fc4317518c98ce6fb5b03aaed50d141 to your computer and use it in GitHub Desktop.
Open current directory in Cygwin
#!/bin/sh
#
# Cygwin here for gnupack
#
# Require:
# - gnupack (http://gnupack.osdn.jp/)
# - <gnupack_root>/startup_config.ini
# [startup_cygwin.exe]
# Chdir_With_Clipboard = yes
#
cygpath -w "$(pwd)" | tr -d '\n' > /dev/clipboard
/root/startup_cygwin.exe
echo > /dev/clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment