Skip to content

Instantly share code, notes, and snippets.

@localghost666
Created January 24, 2019 10:26
Show Gist options
  • Save localghost666/73be08e37030d38c8d49fff784a90fc1 to your computer and use it in GitHub Desktop.
Save localghost666/73be08e37030d38c8d49fff784a90fc1 to your computer and use it in GitHub Desktop.
IntelliJ에서는 Bash를 프로젝트 디렉토리에서 실행, 그 외의 경우 홈 폴더에서 실행
#!/bin/bash
if [ -z "${PROJECT_DIR}" ]
then
cd ~/ || return
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment