Setup zsh
This commit is contained in:
parent
443783a9f3
commit
1c38c7b171
3 changed files with 49 additions and 11 deletions
33
.zshrc
Normal file
33
.zshrc
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
ZSH_THEME="lukerandall"
|
||||
|
||||
plugins=(
|
||||
git
|
||||
archlinux
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Check archlinux plugin commands here
|
||||
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux
|
||||
|
||||
# fastfetch. Will be disabled if above colorscript was chosen to install
|
||||
fastfetch -c $HOME/.config/fastfetch/config-compact.jsonc
|
||||
|
||||
# Set-up icons for files/folders in terminal
|
||||
alias ls='eza -a --icons'
|
||||
alias ll='eza -al --icons'
|
||||
alias lt='eza -a --tree --level=1 --icons'
|
||||
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
setopt appendhistory
|
||||
|
||||
source "$HOME/.config/terminal/.setuprc"
|
||||
Loading…
Add table
Add a link
Reference in a new issue