Created
June 26, 2020 00:45
-
-
Save klein-mask/a3267e424faffee0902478c276fc6e5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ホームディレクトリ取得 | |
home = os.environ.get('HOME') | |
# DEV_ROOTという環境変数を設定 | |
$DEV_ROOT = f'{home}/dev' | |
# cdevというエイリアスでDEV_ROOTに移動 | |
aliases['cdev'] = f'cd {$DEV_ROOT}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment