[UPDATE] LSD Config and add direnv plugin to zsh

IMGCAT FTW
This commit is contained in:
Daveanand Mannie
2025-10-28 22:43:31 -04:00
parent 2025fb7d0e
commit 7a45a87c23
3 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
header: true header: true
layout: oneline layout: tree
recursion: recursion:
enabled: true enabled: true
depth: 1 depth: 1

View File

@@ -74,6 +74,7 @@ ZSH_CUSTOM=~/.config/nvim/zsh/custom
plugins=( plugins=(
zsh-autosuggestions zsh-autosuggestions
zsh-syntax-highlighting zsh-syntax-highlighting
direnv
) )
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh

View File

@@ -9,11 +9,14 @@ alias fd='fdfind'
alias sudo-shell='sudo -E zsh' alias sudo-shell='sudo -E zsh'
# [Development] # [Development]
# conditional wezterm
if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then
alias wezterm='/mnt/c/Users/DaveanandMannie/scoop/apps/wezterm/current/wezterm.exe' alias wezterm='/mnt/c/Users/DaveanandMannie/scoop/apps/wezterm/current/wezterm.exe'
else else
alias wezterm='wezterm' # Or point to native binary if needed alias wezterm='wezterm' # Or point to native binary if needed
fi fi
alias docker='sudo docker'
alias lg='lazygit'
# [Odoo] # [Odoo]
alias erp-dev='cd ~/workspace/pg/erp/' alias erp-dev='cd ~/workspace/pg/erp/'
alias erp-dev-server='erp-dev && source venvs/odoo18/bin/activate && cd odoo && python3 odoo-bin -c ../odoo.conf --dev all' alias erp-dev-server='erp-dev && source venvs/odoo18/bin/activate && cd odoo && python3 odoo-bin -c ../odoo.conf --dev all'
@@ -22,4 +25,3 @@ alias erp-dev-test='cd ~/workspace/pg/erp && source venvs/odoo18/bin/activate &&
alias erp-portal-server='erp-dev && source venvs/odoo17/bin/activate && cd odoo && python3 odoo-bin -c ../.portalrc --dev all' alias erp-portal-server='erp-dev && source venvs/odoo17/bin/activate && cd odoo && python3 odoo-bin -c ../.portalrc --dev all'
alias portal-dev='cd ~/workspace/pg/portal/' alias portal-dev='cd ~/workspace/pg/portal/'
alias lg='lazygit'