Files
dotfiles/dotfiles/.zshrc

54 lines
1.2 KiB
Bash

# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME=""
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
# Display Pokemon-colorscripts
# Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos
# My alias
alias cl='clear'
alias zed='zeditor'
alias ssh-gavin='ssh thoams@192.168.1.83'
alias ssh-raspberry-pi='ssh thoams@192.168.1.86'
alias ssh-ted='ssh thoams@192.168.1.87'
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
source <(fzf --zsh)
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory
# exports
export LIBVIRT_DEFAULT_URI='qemu:///system'
[[ "$TERM_PROGRAM" == "kiro" ]] && . "$(kiro --locate-shell-integration-path zsh)"
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
export SSH_AUTH_SOCK=$HOME/.bitwarden-ssh-agent.sock
export ZED_ALLOW_EMULATED_GPU=1
fastfetch
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/zen.toml)"