Not for normies
| 1 | # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. |
| 2 | # Initialization code that may require console input (password prompts, [y/n] |
| 3 | # confirmations, etc.) must go above this block; everything else may go below. |
| 4 | if ; then |
| 5 | |
| 6 | fi |
| 7 | |
| 8 | # If you come from bash you might have to change your $PATH. |
| 9 | # export PATH=$HOME/bin:/usr/local/bin:$PATH |
| 10 | |
| 11 | |
| 12 | |
| 13 | ZSH_THEME="powerlevel10k/powerlevel10k" |
| 14 | |
| 15 | plugins=( |
| 16 | git |
| 17 | archlinux |
| 18 | zsh-autosuggestions |
| 19 | zsh-syntax-highlighting |
| 20 | fuzzy-funcs |
| 21 | ) |
| 22 | |
| 23 | |
| 24 | |
| 25 | # Check archlinux plugin commands here |
| 26 | # https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux |
| 27 | |
| 28 | # Display Pokemon-colorscripts |
| 29 | # Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos |
| 30 | #pokemon-colorscripts --no-title -s -r #without fastfetch |
| 31 | #pokemon-colorscripts --no-title -s -r | fastfetch -c $HOME/.config/fastfetch/config-pokemon.jsonc --logo-type file-raw --logo-height 10 --logo-width 5 --logo - |
| 32 | |
| 33 | # fastfetch. Will be disabled if above colorscript was chosen to install |
| 34 | # fastfetch -c $HOME/.config/fastfetch/config-compact.jsonc |
| 35 | |
| 36 | # Set-up icons for files/directories in terminal using lsd |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | # Set-up FZF key bindings (CTRL R for fuzzy history finder) |
| 44 | |
| 45 | |
| 46 | HISTFILE=/.zsh_history |
| 47 | HISTSIZE=10000 |
| 48 | SAVEHIST=10000 |
| 49 | |
| 50 | |
| 51 | # neovim takeover |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | # readonly vim -> ex: ps aux | vr |
| 59 | |
| 60 | |
| 61 | # add go bin to path |
| 62 | |
| 63 | |
| 64 | # prevent cargo build from destroying computer |
| 65 | |
| 66 | |
| 67 | # simpler ipython alias |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | # Add gem to environment |
| 77 | |
| 78 | |
| 79 | # Add mason to environment path |
| 80 | |
| 81 | |
| 82 | # Copy last command |
| 83 | |
| 84 | |
| 85 | # Source .env file |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | # Make a tmux popup that reloads when the input files from stdin change |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | # Watch results of command based on input files given through stdin |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | # Watch results of command and pipe into jqp |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. |
| 119 | || |
| 120 | |
| 121 |