-
Notifications
You must be signed in to change notification settings - Fork 5
/
.zshrc.mac
40 lines (31 loc) · 1.19 KB
/
.zshrc.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export TERM=xterm-256color
export EDITOR='lvim'
export PATH="$HOME/.local/bin":$PATH
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
export PATH="$HOME/.commands:$PATH"
export PATH="$HOME/.bin:$PATH"
export PATH="$HOME/.bun/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export MODULAR_HOME="/home/runfunrun/.modular"
export PATH="/home/runfunrun/.modular/pkg/packages.modular.com_mojo/bin:$PATH"
export PATH="$HOME/.local/nvim-macos/bin:$PATH"
export GPG_TTY=$(tty)
eval "$(github-copilot-cli alias -- "$0")"
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[ -s "/home/runfunrun/.bun/_bun" ] && source "/home/runfunrun/.bun/_bun"
alias icat="kitten icat"
alias gd="git difftool --no-symlinks --dir-diff"
alias clock="tty-clock -sc -C4"
set_tab_title() {
local display_path="${PWD/#$HOME/~}"
echo -ne "\033]0;${display_path:t}\007"
}
precmd_functions+=(set_tab_title)