added .zshrc from Xol
This commit is contained in:
103
dotfiles/.zshrc
Normal file
103
dotfiles/.zshrc
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
# 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="refined"
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### From this line is for pywal-colors
|
||||||
|
# Import colorscheme from 'wal' asynchronously
|
||||||
|
# & # Run the process in the background.
|
||||||
|
# ( ) # Hide shell job control messages.
|
||||||
|
# Not supported in the "fish" shell.
|
||||||
|
#(cat ~/.cache/wal/sequences &)
|
||||||
|
|
||||||
|
# Alternative (blocks terminal for 0-3ms)
|
||||||
|
#cat ~/.cache/wal/sequences
|
||||||
|
|
||||||
|
# To add support for TTYs this line can be optionally added.
|
||||||
|
#source ~/.cache/wal/colors-tty.sh
|
||||||
|
|
||||||
|
# My alias
|
||||||
|
|
||||||
|
alias cl='clear'
|
||||||
|
alias cty='tty-clock -S -c -C 6 -t -n -D'
|
||||||
|
alias fucking='sudo'
|
||||||
|
alias n='nvim'
|
||||||
|
alias t='tmux'
|
||||||
|
alias ta='tmux attach'
|
||||||
|
alias tl='tmux ls'
|
||||||
|
alias cd..='cd ..'
|
||||||
|
alias gc='git clone '
|
||||||
|
alias ga='git add .'
|
||||||
|
alias gcm='git commit -m '
|
||||||
|
alias gp='git push -u origin main'
|
||||||
|
alias gs='git status'
|
||||||
|
alias ll='ls -Alh'
|
||||||
|
alias ls='lsd --group-dirs first'
|
||||||
|
alias cat='bat'
|
||||||
|
alias gc='g++ -o o'
|
||||||
|
alias py='python3'
|
||||||
|
alias py='python3'
|
||||||
|
alias c='sudo rsync -avhW --no-compress --progress '
|
||||||
|
alias code='code --ozone-platform=x11'
|
||||||
|
alias kiro='kiro --ozone-platform=x11'
|
||||||
|
alias y='yazi'
|
||||||
|
alias md1='sudo mount /dev/sda5 /mnt/vmachines'
|
||||||
|
alias md2='sudo mount /dev/sda4 /mnt/windows-drive'
|
||||||
|
alias web='tmuxifier load-session web-dev'
|
||||||
|
alias lg='lazygit'
|
||||||
|
alias nivm='nvim'
|
||||||
|
alias pdf='firefox'
|
||||||
|
alias cd='z'
|
||||||
|
alias s='yay -Ss '
|
||||||
|
alias i='yay -S '
|
||||||
|
alias u='yay -Syu '
|
||||||
|
alias tk='tmux kill-server'
|
||||||
|
alias ntest='bash /home/ahmad/.config/hypr/UserScripts/networkTest.sh'
|
||||||
|
alias server='ssh -i ~/.ssh/ssh-key-2025-09-06.key ubuntu@140.245.24.242'
|
||||||
|
|
||||||
|
# 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 LC_TIME=ur_PK.UTF-8
|
||||||
|
export PATH="$HOME/.tmuxifier/bin:$PATH"
|
||||||
|
export LIBVIRT_DEFAULT_URI='qemu:///system'
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
eval "$(tmuxifier init -)"
|
||||||
|
export PATH=$PATH:/home/ahmad/.spicetify
|
||||||
|
[[ "$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/thomas/.bitwarden-ssh-agent.sock
|
||||||
Reference in New Issue
Block a user