various updates
This commit is contained in:
23
.zshrc
23
.zshrc
@ -112,13 +112,13 @@ fi
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Reboot to Windows
|
||||
reboot_windows()
|
||||
{
|
||||
windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
|
||||
sudo grub-reboot "$windows_title" && sudo reboot
|
||||
}
|
||||
alias reboot-windows='reboot_windows'
|
||||
# Reboot to Windows (REPLACED WITH SCRIPT)
|
||||
# reboot_windows()
|
||||
# {
|
||||
# windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
|
||||
# sudo grub-reboot "$windows_title" && sudo reboot
|
||||
# }
|
||||
# alias reboot-windows='reboot_windows'
|
||||
|
||||
# Command aliases
|
||||
alias py=python3
|
||||
@ -142,6 +142,8 @@ alias wol=wakeonlan
|
||||
alias ge=gnome-extensions
|
||||
alias open="xdg-open"
|
||||
alias lg="lazygit"
|
||||
alias ccat="pygmentize -g -O style=monokai,linenos=1"
|
||||
|
||||
alias wstmux="cd ~/code/wasteside/app && tmux new -A -s wasteside"
|
||||
|
||||
alias R="R --no-save"
|
||||
@ -152,8 +154,9 @@ export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
||||
# autojump
|
||||
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
|
||||
|
||||
# vscode shortcuts
|
||||
alias ws="cd ~/code/wasteside/app && code . && tmux new -A -s wasteside"
|
||||
# ws shortcuts
|
||||
alias wsproddb="psql -h ep-shiny-brook-a23l5gzv-pooler.eu-central-1.aws.neon.tech -d neondb -U neondb_owner"
|
||||
alias wsdevdb="psql -h ep-bitter-queen-a2jgwcaj-pooler.eu-central-1.aws.neon.tech -d verceldb -U default"
|
||||
|
||||
# Fix ls colors for synology directories
|
||||
LS_COLORS+=':ow=01;33'
|
||||
@ -179,4 +182,4 @@ export PATH="$HOME/.yarn/bin:$PATH"
|
||||
# pyenv stuff (make sure this is at the end of the file)
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
Reference in New Issue
Block a user