Skip to content

Commit fbb3fe2

Browse files
committed
feat: NAS_URL
* Should specify the url
1 parent 9625727 commit fbb3fe2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

zshrc/mac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,5 @@ export PYTHONIOENCODING=UTF-8
113113
# alias ohmyzsh="mate ~/.oh-my-zsh"
114114

115115
# Personal NAS
116-
alias nas='aws --endpoint-url https://minio.monologg.synology.me --region ap-northeast-2 s3'
116+
export NAS_URL=""
117+
alias nas='aws --endpoint-url $NAS_URL --region ap-northeast-2 s3'

zshrc/ubuntu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export PYTHONIOENCODING=UTF-8
113113
# alias ohmyzsh="mate ~/.oh-my-zsh"
114114

115115
# Personal NAS
116-
alias nas='aws --endpoint-url https://minio.monologg.synology.me --region ap-northeast-2 s3'
116+
export NAS_URL=""
117+
alias nas='aws --endpoint-url $NAS_URL --region ap-northeast-2 s3'
117118

118119
export PATH="/home/${USER}/.local/bin:$PATH"

0 commit comments

Comments
 (0)