mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update zsh, bspwm, nvim, vscode, tmux. Add fish
This commit is contained in:
parent
1f5249ea78
commit
53d009b671
14 changed files with 236 additions and 115 deletions
36
zshrc
36
zshrc
|
|
@ -1,9 +1,8 @@
|
|||
export ZSH="$HOME/.oh-my-zsh"
|
||||
export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.local/bin:$GOPATH/bin:$PATH"
|
||||
source ~/.profile
|
||||
export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.application:$PATH"
|
||||
|
||||
### Oh my zsh ###
|
||||
ZSH_THEME="nten" # Set theme.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
ZSH_THEME="simple" # Set theme.
|
||||
#CASE_SENSITIVE="true" # Use case-sensitive completion.
|
||||
#HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off.
|
||||
#DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks.
|
||||
|
|
@ -12,37 +11,32 @@ DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting.
|
|||
#DISABLE_LS_COLORS="true" # Disable colors in ls.
|
||||
DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title.
|
||||
#ENABLE_CORRECTION="true" # Enable command auto-correction.
|
||||
COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
|
||||
#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
|
||||
export UPDATE_ZSH_DAYS=7 # Change how often to auto-update.
|
||||
export LANG=en_US.UTF-8 # Set locale
|
||||
|
||||
plugins=(python pip node npm yarn pass sudo git)
|
||||
plugins=(yarn)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
### Variables ###
|
||||
### Variables
|
||||
export EDITOR="nvim"
|
||||
export VISUAL="nvim"
|
||||
|
||||
### Aliases ###
|
||||
### Functions
|
||||
bgcolor() {
|
||||
convert -size 1x1 xc:"$1" /tmp/bgc.png
|
||||
feh --bg-tile /tmp/bgc.png}
|
||||
backup() {
|
||||
cp $1 $1.bak}
|
||||
|
||||
### Aliases
|
||||
alias cls="clear"
|
||||
alias mkdir="mkdir -p"
|
||||
alias cp="cp -r"
|
||||
alias du="du -sh"
|
||||
alias df="df -h"
|
||||
|
||||
# Program
|
||||
alias vim="nvim"
|
||||
alias vi="nvim"
|
||||
alias vi="vim"
|
||||
alias tmux="tmux -2"
|
||||
|
||||
# Exit
|
||||
alias :q="exit"
|
||||
alias q="exit"
|
||||
|
||||
# Navigation
|
||||
alias ..="cd .."
|
||||
alias ...="cd ../.."
|
||||
alias .3="cd ../../.."
|
||||
alias .4="cd ../../../.."
|
||||
alias .5="cd ../../../../.."
|
||||
alias .6="cd ../../../../../.."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue