| @@ -1,109 +1,39 @@ |
| 1 | # Export GPG for git signing |
1 | export PATH="/opt/homebrew/bin:$PATH" |
| 2 | export GPG_TTY=$(tty) |
2 | export PATH="$HOME/.emacs.d/bin:$PATH" |
| 3 | |
3 | export PATH=$PATH:$(go env GOPATH)/bin |
| 4 | # If you come from bash you might have to change your $PATH. |
4 | export PATH="$PATH:/Library/TeX/texbin" |
| 5 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
5 | export PATH="$PATH:/Users/cmc/.local/bin" |
| 6 | |
| |
| 7 | # Add local path executables |
| |
| 8 | export PATH=$HOME/.local/bin:$PATH |
| |
| 9 | |
6 | |
| 10 | # Path to your oh-my-zsh installation. |
7 | # Path to your oh-my-zsh installation. |
| 11 | export ZSH="$HOME/.oh-my-zsh" |
8 | export ZSH="$HOME/.oh-my-zsh" |
| |
9 | export EDITOR=nano |
| 12 | |
10 | |
| 13 | # Set name of the theme to load --- if set to "random", it will |
| |
| 14 | # load a random theme each time oh-my-zsh is loaded, in which case, |
| |
| 15 | # to know which specific one was loaded, run: echo $RANDOM_THEME |
| |
| 16 | # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
11 | # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
| 17 | ZSH_THEME="mh" |
12 | ZSH_THEME="bureau" |
| 18 | |
| |
| 19 | # Set list of themes to pick from when loading at random |
| |
| 20 | # Setting this variable when ZSH_THEME=random will cause zsh to load |
| |
| 21 | # a theme from this variable instead of looking in $ZSH/themes/ |
| |
| 22 | # If set to an empty array, this variable will have no effect. |
| |
| 23 | # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) |
| |
| 24 | |
| |
| 25 | # Uncomment the following line to use case-sensitive completion. |
| |
| 26 | # CASE_SENSITIVE="true" |
| |
| 27 | |
| |
| 28 | # Uncomment the following line to use hyphen-insensitive completion. |
| |
| 29 | # Case-sensitive completion must be off. _ and - will be interchangeable. |
| |
| 30 | # HYPHEN_INSENSITIVE="true" |
| |
| 31 | |
| |
| 32 | # Uncomment one of the following lines to change the auto-update behavior |
| |
| 33 | # zstyle ':omz:update' mode disabled # disable automatic updates |
| |
| 34 | # zstyle ':omz:update' mode auto # update automatically without asking |
| |
| 35 | # zstyle ':omz:update' mode reminder # just remind me to update when it's time |
| |
| 36 | |
| |
| 37 | # Uncomment the following line to change how often to auto-update (in days). |
| |
| 38 | # zstyle ':omz:update' frequency 13 |
| |
| 39 | |
| |
| 40 | # Uncomment the following line if pasting URLs and other text is messed up. |
| |
| 41 | # DISABLE_MAGIC_FUNCTIONS="true" |
| |
| 42 | |
| |
| 43 | # Uncomment the following line to disable colors in ls. |
| |
| 44 | # DISABLE_LS_COLORS="true" |
| |
| 45 | |
13 | |
| 46 | # Uncomment the following line to disable auto-setting terminal title. |
14 | # Uncomment the following line to disable auto-setting terminal title. |
| 47 | # DISABLE_AUTO_TITLE="true" |
15 | DISABLE_AUTO_TITLE="true" |
| 48 | |
| |
| 49 | # Uncomment the following line to enable command auto-correction. |
| |
| 50 | # ENABLE_CORRECTION="true" |
| |
| 51 | |
| |
| 52 | # Uncomment the following line to display red dots whilst waiting for completion. |
| |
| 53 | # You can also set it to another string to have that shown instead of the default red dots. |
| |
| 54 | # e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" |
| |
| 55 | # Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) |
| |
| 56 | # COMPLETION_WAITING_DOTS="true" |
| |
| 57 | |
| |
| 58 | # Uncomment the following line if you want to disable marking untracked files |
| |
| 59 | # under VCS as dirty. This makes repository status check for large repositories |
| |
| 60 | # much, much faster. |
| |
| 61 | # DISABLE_UNTRACKED_FILES_DIRTY="true" |
| |
| 62 | |
16 | |
| 63 | # Uncomment the following line if you want to change the command execution time |
| |
| 64 | # stamp shown in the history command output. |
| |
| 65 | # You can set one of the optional three formats: |
| |
| 66 | # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" |
| |
| 67 | # or set a custom format using the strftime function format specifications, |
| |
| 68 | # see 'man strftime' for details. |
| |
| 69 | # HIST_STAMPS="mm/dd/yyyy" |
| |
| 70 | |
| |
| 71 | # Would you like to use another custom folder than $ZSH/custom? |
| |
| 72 | # ZSH_CUSTOM=/path/to/new-custom-folder |
| |
| 73 | |
| |
| 74 | # Which plugins would you like to load? |
| |
| 75 | # Standard plugins can be found in $ZSH/plugins/ |
| |
| 76 | # Custom plugins may be added to $ZSH_CUSTOM/plugins/ |
| |
| 77 | # Example format: plugins=(rails git textmate ruby lighthouse) |
17 | # Example format: plugins=(rails git textmate ruby lighthouse) |
| 78 | # Add wisely, as too many plugins slow down shell startup. |
18 | plugins=(git zsh-autosuggestions) |
| 79 | plugins=(git zsh-autosuggestions k) |
| |
| 80 | |
19 | |
| 81 | source $ZSH/oh-my-zsh.sh |
20 | source $ZSH/oh-my-zsh.sh |
| 82 | |
21 | |
| 83 | # User configuration |
22 | # User configuration |
| 84 | |
23 | |
| 85 | # export MANPATH="/usr/local/man:$MANPATH" |
24 | # bun completions |
| 86 | |
25 | [ -s "/Users/cmc/.bun/_bun" ] && source "/Users/cmc/.bun/_bun" |
| 87 | # You may need to manually set your language environment |
| |
| 88 | # export LANG=en_US.UTF-8 |
| |
| 89 | |
26 | |
| 90 | # Preferred editor for local and remote sessions |
27 | # bun |
| 91 | # if [[ -n $SSH_CONNECTION ]]; then |
28 | export BUN_INSTALL="$HOME/.bun" |
| 92 | # export EDITOR='vim' |
29 | export PATH="$BUN_INSTALL/bin:$PATH" |
| 93 | # else |
| |
| 94 | # export EDITOR='mvim' |
| |
| 95 | # fi |
| |
| 96 | |
30 | |
| 97 | # Compilation flags |
31 | alias ls="eza" |
| 98 | # export ARCHFLAGS="-arch x86_64" |
32 | alias l="eza -lha" |
| |
33 | alias emacs="emacs -nw" |
| |
34 | alias cat="bat" |
| |
35 | alias tsm="transmission-remote" |
| |
36 | alias pip3="pipx" |
| 99 | |
37 | |
| 100 | # Set personal aliases, overriding those provided by oh-my-zsh libs, |
38 | # Added by LM Studio CLI (lms) |
| 101 | # plugins, and themes. Aliases can be placed here, though oh-my-zsh |
39 | export PATH="$PATH:/Users/cmc/.cache/lm-studio/bin" |
| 102 | # users are encouraged to define aliases within the ZSH_CUSTOM folder. |
| |
| 103 | # For a full list of active aliases, run `alias`. |
| |
| 104 | # |
| |
| 105 | # Example aliases |
| |
| 106 | # alias zshconfig="mate ~/.zshrc" |
| |
| 107 | # alias ohmyzsh="mate ~/.oh-my-zsh" |
| |
| 108 | alias l="k -a" |
| |
| 109 | alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' |
| |