Compare commits
2 Commits
b6cfbe0770
...
5a733b2c15
Author | SHA1 | Date | |
---|---|---|---|
5a733b2c15 | |||
3c00685568 |
27
.config/config.jsonc
Normal file
27
.config/config.jsonc
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
1
.config/zsh/plugins/zsh-syntax-highlighting
Submodule
1
.config/zsh/plugins/zsh-syntax-highlighting
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit caa749d030d22168445c4cb97befd406d2828db0
|
10
.zshrc
10
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user