Added ZSH settings
This commit is contained in:
parent
b02aff44b9
commit
53768c88c7
24
config.yaml
24
config.yaml
@ -1,7 +1,7 @@
|
|||||||
actions:
|
actions:
|
||||||
|
nvim-plug: nvim +PlugInstall +qall
|
||||||
pre:
|
pre:
|
||||||
nvim-plug-install: test -e ~/.local/share/nvim/site/autoload/plug.vim || (mkdir -p ~/.local/share/nvim/site/autoload/; curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
nvim-plug-install: test -e ~/.local/share/nvim/site/autoload/plug.vim || (mkdir -p ~/.local/share/nvim/site/autoload/; curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
||||||
nvim-plug: nvim +PlugInstall +qall
|
|
||||||
config:
|
config:
|
||||||
backup: true
|
backup: true
|
||||||
banner: true
|
banner: true
|
||||||
@ -14,17 +14,29 @@ config:
|
|||||||
showdiff: false
|
showdiff: false
|
||||||
workdir: ~/.config/dotdrop
|
workdir: ~/.config/dotdrop
|
||||||
dotfiles:
|
dotfiles:
|
||||||
f_tmux.conf:
|
|
||||||
dst: ~/.tmux.conf
|
|
||||||
src: tmux.conf
|
|
||||||
f_nvim:
|
f_nvim:
|
||||||
dst: ~/.config/nvim/init.vim
|
|
||||||
src: nvim/init.vim
|
|
||||||
actions:
|
actions:
|
||||||
- nvim-plug-install
|
- nvim-plug-install
|
||||||
- nvim-plug
|
- nvim-plug
|
||||||
|
dst: ~/.config/nvim/init.vim
|
||||||
|
src: nvim/init.vim
|
||||||
|
f_tmux.conf:
|
||||||
|
dst: ~/.tmux.conf
|
||||||
|
src: tmux.conf
|
||||||
|
f_zshrc:
|
||||||
|
dst: ~/.zshrc
|
||||||
|
src: zsh/zshrc
|
||||||
|
f_zsh_private_aliases:
|
||||||
|
dst: ~/.zsh_private_aliases
|
||||||
|
src: zsh/zsh_private_aliases.asc
|
||||||
|
trans:
|
||||||
|
- gpg
|
||||||
|
trans:
|
||||||
|
gpg: gpg --no-tty -d {0} > {1}
|
||||||
profiles:
|
profiles:
|
||||||
dennis-ThinkPad:
|
dennis-ThinkPad:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- f_tmux.conf
|
- f_tmux.conf
|
||||||
- f_nvim
|
- f_nvim
|
||||||
|
- f_zshrc
|
||||||
|
- f_zsh_private_aliases
|
||||||
|
12
dotfiles/zsh/zsh_private_aliases.asc
Normal file
12
dotfiles/zsh/zsh_private_aliases.asc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
-----BEGIN PGP MESSAGE-----
|
||||||
|
|
||||||
|
jA0EBwMCHArUnS01+Qru0sCWAcfrPZicJa9B+gGypDG5yrwsEw9vn0wd1nA+bRkI
|
||||||
|
Sdi0XYWX1jQjeASicEcFaSnQNFojiIas7SbEajsc9dJ1nKWm+IcLeqVwHOuVhnhk
|
||||||
|
zQaXVyUAS+k4VrQVHnG2qYaK8De166ixTJsmJNnw6M2aVS2y5uizAXk8frO/bJCI
|
||||||
|
wEDtEuzcvwfupJ6C8+GuausQRI0Hn+0g/+ZXFDTjIh+o4Sxs1pnp/XODlm3kws9e
|
||||||
|
noonBahUQP4x2uuBM71q3lHEje5XBBKsiAYvT4JaKFKNsTnnDjhoLgKEDroShSW/
|
||||||
|
TG0K8u/Kf8ZB8qU5MwFbMYJu54UrPe3LSzIbUPQxHvW0VCZthoziTDTiKgFj9JIw
|
||||||
|
m+GZSS1zdyim/yCPBifqWZwlD2a5BZH+amdMBF5Vu1sGT0hsGgNMUecQLfSWM03Z
|
||||||
|
wqehEfPVfRLyfkRhdUrFlHW7VaUacZR3
|
||||||
|
=J0tH
|
||||||
|
-----END PGP MESSAGE-----
|
109
dotfiles/zsh/zshrc
Normal file
109
dotfiles/zsh/zshrc
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
if command -v tmux>/dev/null; then
|
||||||
|
[[ ! $TERM =~ screen ]] && [ -z $TMUX ] && exec tmux
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If you come from bash you might have to change your $PATH.
|
||||||
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
|
# Path to your oh-my-zsh installation.
|
||||||
|
export ZSH="/home/dennis/.oh-my-zsh"
|
||||||
|
|
||||||
|
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||||
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||||
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||||
|
ZSH_THEME="gnzh"
|
||||||
|
|
||||||
|
# Set list of themes to load
|
||||||
|
# Setting this variable when ZSH_THEME=random
|
||||||
|
# cause zsh load theme from this variable instead of
|
||||||
|
# looking in ~/.oh-my-zsh/themes/
|
||||||
|
# An empty array have no effect
|
||||||
|
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||||
|
|
||||||
|
# Uncomment the following line to use case-sensitive completion.
|
||||||
|
# CASE_SENSITIVE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to use hyphen-insensitive completion. Case
|
||||||
|
# sensitive completion must be off. _ and - will be interchangeable.
|
||||||
|
# HYPHEN_INSENSITIVE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||||
|
# DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to change how often to auto-update (in days).
|
||||||
|
# export UPDATE_ZSH_DAYS=13
|
||||||
|
|
||||||
|
# Uncomment the following line to disable colors in ls.
|
||||||
|
# DISABLE_LS_COLORS="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to disable auto-setting terminal title.
|
||||||
|
# DISABLE_AUTO_TITLE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to enable command auto-correction.
|
||||||
|
# ENABLE_CORRECTION="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||||
|
# COMPLETION_WAITING_DOTS="true"
|
||||||
|
|
||||||
|
# Uncomment the following line if you want to disable marking untracked files
|
||||||
|
# under VCS as dirty. This makes repository status check for large repositories
|
||||||
|
# much, much faster.
|
||||||
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||||
|
|
||||||
|
# Uncomment the following line if you want to change the command execution time
|
||||||
|
# stamp shown in the history command output.
|
||||||
|
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
|
# HIST_STAMPS="mm/dd/yyyy"
|
||||||
|
|
||||||
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
|
|
||||||
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
|
plugins=(
|
||||||
|
git
|
||||||
|
)
|
||||||
|
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# User configuration
|
||||||
|
|
||||||
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
|
# You may need to manually set your language environment
|
||||||
|
# export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
# Preferred editor for local and remote sessions
|
||||||
|
# if [[ -n $SSH_CONNECTION ]]; then
|
||||||
|
# export EDITOR='vim'
|
||||||
|
# else
|
||||||
|
# export EDITOR='mvim'
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# Compilation flags
|
||||||
|
# export ARCHFLAGS="-arch x86_64"
|
||||||
|
|
||||||
|
# ssh
|
||||||
|
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||||
|
|
||||||
|
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||||
|
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||||
|
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||||
|
# For a full list of active aliases, run `alias`.
|
||||||
|
#
|
||||||
|
# Example aliases
|
||||||
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
#
|
||||||
|
alias vi="nvim"
|
||||||
|
alias vim="nvim"
|
||||||
|
alias pst="pbincli"
|
||||||
|
alias dotdrop=~/dotfiles/dotdrop.sh --cfg=~/dotfiles/config.yaml
|
||||||
|
|
||||||
|
source ~/.zsh_private_aliases
|
||||||
|
|
||||||
|
export PATH=$PATH:/home/dennis/code/PBinCLI/venv/bin:/home/dennis/.local/bin
|
||||||
|
export GTK_MODULES=appmenu-gtk-module
|
||||||
|
|
Loading…
Reference in New Issue
Block a user