Merge pull request #5 from wolveshire/zsh_updates

update .zshrc
This commit is contained in:
wolveshire 2022-03-12 15:44:58 -06:00 committed by GitHub
commit c0643a923f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 11 deletions

View File

@ -49,6 +49,7 @@ bindsym $mod+Return exec alacritty
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
bindsym $mod+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
# bindsym $mod+d exec --no-startup-id dmenu_run # bindsym $mod+d exec --no-startup-id dmenu_run
@ -197,7 +198,7 @@ bar {
} }
# set background on startup # 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 # turn picom on on start up
exec_always --no-startup-id picom & exec_always --no-startup-id picom &

2
vimrc/.vimrc Normal file
View File

@ -0,0 +1,2 @@
set number
syntax on

View File

@ -1,23 +1,48 @@
# Use powerline # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
USE_POWERLINE="true" # Initialization code that may require console input (password prompts, [y/n]
# Source manjaro-zsh-configuration # confirmations, etc.) must go above this block; everything else may go below.
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source /usr/share/zsh/manjaro-zsh-config source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
source /usr/share/zsh/manjaro-zsh-prompt
fi fi
#USE_POWERLINE="true"
# aliases
alias cp="cp -i" alias cp="cp -i"
alias more="less" alias more="less"
alias weather="curl wttr.in" 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 export PATH=/home/clint/.scripts/:$PATH
# default programs
export TERMINAL=alacritty export TERMINAL=alacritty
export BROWSER=firefox 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 pfetch