1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-16 07:26:51 +00:00

add pyenv and git aliases

This commit is contained in:
Luna 2022-06-25 14:36:47 +02:00
parent 71ebb13744
commit f07c823191
No known key found for this signature in database
GPG key ID: DE9E9D23CD19A149
2 changed files with 14 additions and 0 deletions

View file

@ -15,3 +15,14 @@ alias \
screen-stream="discord-stream" \
vim="nvim" \
swap-ytmpv-profiles="sed -i 's/mpv-yt/mpv-yt-inactive/g' ~/.config/mpv/mpv.conf && sed -i 's/mpv-yt-inactive-inactive/mpv-yt/g' ~/.config/mpv/mpv.conf; grep -1 mpv-yt ~/.config/mpv/mpv.conf"
ga='git add' \
gap='git add --patch' \
gc='git commit' \
gd='git diff' \
gdc='git diff --cached' \
gl='git lg' \
gp='git push' \
gres='git restore' \
gs='git status' \
gst='git stash'

3
.zsh/pyenv.zsh Normal file
View file

@ -0,0 +1,3 @@
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"