Created
October 2, 2025 04:58
-
-
Save sdebnath/85bdf011411e86a151ec0870eef380d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################################################ | |
| # OhMyZsh configuration | |
| ################################################################################ | |
| # Path to your Oh My Zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # Which plugins would you like to load? | |
| # Standard plugins can be found in $ZSH/plugins/ | |
| # Custom plugins may be added to $ZSH_CUSTOM/plugins/ | |
| # Example format: plugins=(rails git textmate ruby lighthouse) | |
| # Add wisely, as too many plugins slow down shell startup. | |
| plugins=(git) | |
| source $ZSH/oh-my-zsh.sh | |
| ################################################################################ | |
| # Load additional configurations | |
| ################################################################################ | |
| # Load all additional configuration files from ~/.zshrc.d | |
| for config_file in $HOME/.config/zsh/zshrc.d/*.zsh; do | |
| [ -r "$config_file" ] && source "$config_file" | |
| done | |
| ################################################################################ | |
| # User shell configuration | |
| ################################################################################ | |
| # Path setup | |
| export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH | |
| # Set up a good prompt | |
| autoload -Uz vcs_info | |
| precmd() { vcs_info } | |
| zstyle ':vcs_info:git:*' formats '%b ' | |
| setopt PROMPT_SUBST | |
| PROMPT='%F{yellow}%m%f %F{green}%*%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ ' | |
| # TMUX specific configuration | |
| alias tls="tmux ls" | |
| alias ta="tmux attach -t " | |
| # Disable pager by default | |
| export PAGER= | |
| ################################################################################ | |
| # Postgres | |
| ################################################################################ | |
| alias msb="meson setup build --buildtype=debug -Dcassert=true -Dicu=disabled" | |
| ################################################################################ | |
| # Launch | |
| ################################################################################ | |
| # On launch, print out existing tmux sessions | |
| echo | |
| echo "== TMUX Sessions ==" | |
| tls | |
| echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment