From 9dbe24801dd6040412fcd86316a656093c71e039 Mon Sep 17 00:00:00 2001 From: clint Date: Sat, 12 Mar 2022 15:38:58 -0600 Subject: [PATCH] update .zshrc --- i3/.config/i3/config | 3 ++- vimrc/.vimrc | 2 ++ zsh/.zshrc | 45 ++++++++++++++++++++++++++++++++++---------- 3 files changed, 39 insertions(+), 11 deletions(-) create mode 100644 vimrc/.vimrc diff --git a/i3/.config/i3/config b/i3/.config/i3/config index a072a2e..91425db 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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 & diff --git a/vimrc/.vimrc b/vimrc/.vimrc new file mode 100644 index 0000000..17357aa --- /dev/null +++ b/vimrc/.vimrc @@ -0,0 +1,2 @@ +set number +syntax on diff --git a/zsh/.zshrc b/zsh/.zshrc index cd29adc..ccf7603 100644 --- a/zsh/.zshrc +++ b/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