2024-03-10 12:39:06 +02:00

52 lines
1.2 KiB
Bash
Executable File

#Some plugin intial setup
# Download Znap, if it's not there yet.
[[ -r ~/Repos/znap/znap.zsh ]] ||
git clone --depth 1 -- \
https://github.com/marlonrichert/zsh-snap.git ~/Repos/znap
source ~/Repos/znap/znap.zsh # Start Znap
znap source marlonrichert/zsh-autocomplete
znap source zshzoo/cd-ls
#Aliases:
alias c="clear"
alias ls="exa -a"
alias l="ls"
alias st="speedtest"
alias ll="ls --long"
alias lr="ll --tree"
alias tree="tree -ph"
alias f="find ~/ -name"
alias fs="find / -name"
# GIT aliases
alias gs="git status"
alias gr="git pull --rebase"
alias gri="git rebase --interactive"
alias grc="git rebase --continue"
alias gl="git log"
alias t="tig"
alias ga="git commit --amend"
alias gc="git commit"
alias gaa="git add -A"
alias gp="git push"
alias gb="git branch"
alias gch="git checkout"
alias gchb="gch -b"
alias grp="git pull --rebase && git push"
# Chnage keyboard layout
setxkbmap -layout us,ru,fi
setxkbmap -option 'grp:alt_space_toggle'
#Prompt Settings:
cd /Users/dave/Documents/Terminal
PROMPT="%(?.%F{green}√.%F{red}?%?)%f %B%F{yellow}%1~%f%b %# --> "
c
#Text:
echo "===================================================================" | lolcat
fortune
echo "===================================================================" | lolcat