variables for sdcv

This commit is contained in:
rick 2021-08-19 09:55:38 +05:30
parent afc88f4519
commit 53ed17205f
1 changed files with 6 additions and 8 deletions

14
.zshrc
View File

@ -11,8 +11,8 @@ compinit
# End of lines added by compinstall # End of lines added by compinstall
# Lines configured by zsh-newuser-install # Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history HISTFILE=~/.zsh_history
HISTSIZE=200 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=100000
setopt notify setopt notify
unsetopt beep unsetopt beep
bindkey -v bindkey -v
@ -41,7 +41,7 @@ prompt='%d/ $(git_branch_name) > '
source ~/.bash_aliases source ~/.bash_aliases
export EDITOR=nvim export EDITOR=nvim
export PATH=$PATH:/home/rick/.emacs.d/bin/ #:$HOME/.config/nvim/plugged/vim-superman/bin export PATH=/home/rick/.ghcup/bin/:$PATH:/home/rick/.emacs.d/bin/:/home/rick/jrnl/ecpd/7tools/:$HOME/.config/nvim/plugged/vim-superman/bin
# keybinds # keybinds
bindkey ";5C" forward-word bindkey ";5C" forward-word
@ -99,10 +99,8 @@ cursor_mode() {
cursor_mode cursor_mode
### ###
# vman opens manpages with nvim # open man and info from neovim
compdef vman="man" compdef vman="man"
[ -f "/home/rick/.ghcup/env" ] && source "/home/rick/.ghcup/env" # ghcup-env ## sdcv dictionary
export STARDICT_DATA_DIR=/home/rick/.sdcv
# contents of ~/.ghcup/env file:
# export PATH="$HOME/.cabal/bin:/home/rick/.ghcup/bin:$PATH"