Compare commits

...

2 Commits

Author SHA1 Message Date
5a733b2c15 Add fastfetch configs 2024-07-27 20:17:02 -05:00
3c00685568 Fix up zshrc 2024-05-16 00:02:22 -05:00
3 changed files with 37 additions and 1 deletions

27
.config/config.jsonc Normal file
View File

@ -0,0 +1,27 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"modules": [
"title",
"separator",
"os",
"host",
"kernel",
"uptime",
"packages",
"shell",
"display",
"de",
"wm",
"wmtheme",
"theme",
"terminal",
"cpu",
"gpu",
"memory",
"swap",
"disk",
"localip",
"battery",
"poweradapter"
]
}

@ -0,0 +1 @@
Subproject commit caa749d030d22168445c4cb97befd406d2828db0

10
.zshrc
View File

@ -3,7 +3,6 @@ compinit
HISTFILE="$HOME/.zsh_history" HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000 HISTSIZE=10000
SAVEHIST=10000 SAVEHIST=10000
bindkey -e
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$PATH" export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$PATH"
export EDITOR="vim" export EDITOR="vim"
@ -14,10 +13,17 @@ export VIDEO="mpv"
export OPENER="xdg-open" export OPENER="xdg-open"
export ZDOTDIR="$HOME/.config/zsh" export ZDOTDIR="$HOME/.config/zsh"
# Set emacs key binding.
bindkey -e
# Import functions.
source "$ZDOTDIR/functions" source "$ZDOTDIR/functions"
# Set custom key bindings.
zsh_add_config keybinds.zsh zsh_add_config keybinds.zsh
# Configure pure-prompt.
export PURE_PROMPT_SYMBOL="$" export PURE_PROMPT_SYMBOL="$"
if [ "$USER" = "root" ]; then if [ "$USER" = "root" ]; then
export PURE_PROMPT_SYMBOL="#" export PURE_PROMPT_SYMBOL="#"
@ -30,9 +36,11 @@ zstyle :prompt:pure:host color white
zstyle ':prompt:pure:prompt:*' color white zstyle ':prompt:pure:prompt:*' color white
prompt pure prompt pure
# Add extra plugins.
zsh_add_plugin zdharma-continuum/fast-syntax-highlighting zsh_add_plugin zdharma-continuum/fast-syntax-highlighting
ZSH_AUTOSUGGEST_STRATEGY=(history completion) ZSH_AUTOSUGGEST_STRATEGY=(history completion)
zsh_add_plugin zsh-users/zsh-autosuggestions zsh_add_plugin zsh-users/zsh-autosuggestions
# Show off the system.
fastfetch fastfetch