Skip to content

Commit 421f69b

Browse files
committed
✨ feat(utils): add docker cli as an alias to podman if podman installed
1 parent c78280d commit 421f69b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/config/bash/.bash_aliases

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/env/bin/bash
2+
13
# clear
24
alias c='clear'
35
alias cls='clear'
@@ -49,10 +51,12 @@ alias 775='chmod 775' # -rwxrwxr-x (user: rwx, group: rwx, othe
4951
alias mx='chmod a+x' # ---x--x--x (user: --x, group: --x, other: --x)
5052
alias ux='chmod u+x' # ---x------ (user: --x, group: -, other: -)
5153

54+
# lazygit
5255
if command -v lazygit >/dev/null 2>&1; then
5356
alias lg='lazygit'
5457
fi
5558

59+
# eza
5660
if command -v eza >/dev/null 2>&1; then
5761
alias ls='eza --git --icons --group --group-directories-first --time-style=long-iso --color-scale=all'
5862
alias l='ls --git-ignore'
@@ -82,3 +86,8 @@ else
8286
alias urlencode='python3 -c "import sys; del sys.path[0]; import urllib.parse as up; print(up.quote_plus(sys.argv[1]))"'
8387
alias urldecode='python3 -c "import sys; del sys.path[0]; import urllib.parse as up; print(up.unquote_plus(sys.argv[1]))"'
8488
fi
89+
90+
# podman
91+
if command -v podman >/dev/null 2>&1; then
92+
alias docker='podman'
93+
fi

0 commit comments

Comments
 (0)