dotfiles/zsh/.aliases

43 lines
1.4 KiB
Plaintext
Raw Normal View History

#alias ltd='docker exec -it lt-dev /bin/bash'
#alias ltdf='docker exec -it lt-dev-2004 /bin/bash'
#alias lt-dd-f='docker exec -it lt-dev-2004 lt-dd'
#alias lt-dd-cms='lt-dd project:execute -p mpm-cms -n -- '
#alias lt-dd-web='lt-dd project:execute -p mpm-website -n -- '
#alias lt-dd-w2='lt-dd project:execute -p wrqr2 -n -- '
#alias fm='xinput set-prop 9 "libinput Scroll Method Enabled" 0, 0, 1 && xinput set-prop 9 "libinput Button Scrolling Button" 10'
alias gcp='git cherry-pick'
alias gs='git status'
alias gdq='screen -d -m streamlink https://www.twitch.tv/gamesdonequick best -p mpv'
alias f=z
alias lg=lazygit
2021-11-16 17:54:26 +01:00
alias fixtime='sudo hwclock --hctosys'
2021-12-20 14:29:08 +01:00
alias sc='./bin/console'
2022-06-11 02:14:01 +02:00
alias scme='./bin/console make:entity'
alias scmf='./bin/console make:form'
alias scmm='./bin/console make:migration'
alias scdm='./bin/console doctrine:migrations:migrate'
alias scdsd='sc doctrine:schema:update --dump-sql'
alias scdsf='sc doctrine:schema:update --force --dump-sql'
2022-02-26 01:00:24 +01:00
alias dbm='~/projects/dbmanager/bin/console'
alias python=python3
# eza overide
TREE_IGNORE="cache|log|logs|node_modules|vendor"
2023-12-19 00:19:20 +01:00
if type "eza" > /dev/null; then
2023-12-19 00:22:37 +01:00
alias ls=' eza --group-directories-first --git -l'
alias la=' ls -a'
2023-12-19 00:22:37 +01:00
alias ll=' ls'
alias l=' ll'
alias lt=' ls --tree -D -L 2 -I ${TREE_IGNORE}'
alias ltt=' ls --tree -D -L 3 -I ${TREE_IGNORE}'
alias lttt=' ls --tree -D -L 4 -I ${TREE_IGNORE}'
alias ltttt=' ls --tree -D -L 5 -I ${TREE_IGNORE}'
fi