update .zshrc
This commit is contained in:
parent
47434eaf3a
commit
9dbe24801d
|
@ -49,6 +49,7 @@ bindsym $mod+Return exec alacritty
|
|||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
# bindsym $mod+d exec --no-startup-id dmenu_run
|
||||
|
@ -197,7 +198,7 @@ bar {
|
|||
}
|
||||
|
||||
# set background on startup
|
||||
exec --no-startup-id feh --bg-fill ~/Pictures/mountains2.jpg
|
||||
exec --no-startup-id feh --bg-fill ~/Pictures/trees_mountain.jpg
|
||||
|
||||
# turn picom on on start up
|
||||
exec_always --no-startup-id picom &
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
set number
|
||||
syntax on
|
45
zsh/.zshrc
45
zsh/.zshrc
|
@ -1,23 +1,48 @@
|
|||
# Use powerline
|
||||
USE_POWERLINE="true"
|
||||
# Source manjaro-zsh-configuration
|
||||
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
|
||||
source /usr/share/zsh/manjaro-zsh-config
|
||||
fi
|
||||
# Use manjaro zsh prompt
|
||||
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
|
||||
source /usr/share/zsh/manjaro-zsh-prompt
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
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
|
||||
|
||||
#USE_POWERLINE="true"
|
||||
|
||||
# aliases
|
||||
alias cp="cp -i"
|
||||
alias more="less"
|
||||
alias weather="curl wttr.in"
|
||||
alias ll="ls -la"
|
||||
alias ls="exa -lhg --group-directories-first"
|
||||
alias ll="exa -lhga --group-directories-first"
|
||||
|
||||
# path
|
||||
export PATH=/home/clint/.scripts/:$PATH
|
||||
|
||||
# default programs
|
||||
export TERMINAL=alacritty
|
||||
export BROWSER=firefox
|
||||
|
||||
# add some common key bindings
|
||||
bindkey "^[[H" beginning-of-line
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "\e[3~" delete-char
|
||||
|
||||
# history
|
||||
HISTFILE=~/.zhistory
|
||||
setopt inc_append_history
|
||||
setopt share_history
|
||||
|
||||
# auto complete
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
zstyle ':completion:*' menu select
|
||||
|
||||
# start power theme
|
||||
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
|
||||
|
||||
|
||||
pfetch
|
||||
|
|
Loading…
Reference in New Issue