Skip to content

Commit

Permalink
chore: add some aliases for invoking Python
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarmos-san committed Jan 14, 2025
1 parent 516b869 commit 94204b7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dotfiles/.zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ alias cm="cmatrix -abs"
alias rands="openssl rand -base64 32"
alias ll="eza --long --all --classify --icons --git --ignore-glob='.git'"
alias loc="wc -l"
alias mkvenv="python3 -m venv .venv"
alias tree="eza --tree --all --icons --ignore-glob='.git' --git-ignore"
alias dateiso="date +%Y-%m-%dT%H:%M:%S%z"

Expand All @@ -35,8 +34,6 @@ alias rsdb="docker run --name redis --rm -p 6379:6379 \
-e ALLOW_EMPTY_PASSWORD=yes \
bitnami/redis:7.2"

alias py="python3"

# Terraform related aliases
alias tfinit="terraform init"
alias tfval="terraform validate"
Expand All @@ -58,3 +55,9 @@ alias homelab="tmux new-session -s homelab -n homelab -c ~/projects/homelab"

# Some complex Git aliases
alias git-sync="git switch main && git fetch --prune && git branch -vv | awk '/: gone/ {print $1}' | xargs -r git branch --delete"

# Some aliases for working with Python
alias mkvenv="python3 -m venv .venv"
alias penv="eval $(poetry env activate)"
alias py="python3"
alias python="python3"

0 comments on commit 94204b7

Please sign in to comment.