mirror of
https://github.com/Yannick7777/dotfiles.git
synced 2025-06-26 06:35:23 +02:00
.zsh set UID and GID env vars in docker compose aliases
This commit is contained in:
parent
4338a16efc
commit
5d3900f131
1 changed files with 2 additions and 2 deletions
4
.zshrc
4
.zshrc
|
@ -109,8 +109,8 @@ fastfetch --config examples/16
|
||||||
# export XDG_CURRENT_DESKTOP=sway
|
# export XDG_CURRENT_DESKTOP=sway
|
||||||
alias ledger-shell="ledger-agent ~/.ssh/ledger.conf -s -v"
|
alias ledger-shell="ledger-agent ~/.ssh/ledger.conf -s -v"
|
||||||
alias dcd="docker compose down"
|
alias dcd="docker compose down"
|
||||||
alias dcu="docker compose up"
|
alias dcu='UID="$(id -u)" GID="$(id -g)" docker compose up'
|
||||||
alias dcud="docker compose up -d"
|
alias dcud='UID="$(id -u)" GID="$(id -g)" docker compose up -d'
|
||||||
alias needssh="git remote set-url origin \$(git remote get-url origin | sed -e 's|https://github.com/|git@github.com:|' -e 's|/$||' -e 's|\.git$||')"
|
alias needssh="git remote set-url origin \$(git remote get-url origin | sed -e 's|https://github.com/|git@github.com:|' -e 's|/$||' -e 's|\.git$||')"
|
||||||
|
|
||||||
# Created by `pipx` on 2024-11-22 13:27:16
|
# Created by `pipx` on 2024-11-22 13:27:16
|
||||||
|
|
Loading…
Add table
Reference in a new issue