cryfs env

This commit is contained in:
Alexander Popov 2023-04-05 12:00:30 +03:00
parent 8a44d5aa8a
commit d5c2307eeb

View File

@ -4,13 +4,19 @@
export PS1='\[\e[0;33m\][\t] \[\e[0;32m\][\W]\[\e[0m\] \[\e[0;31m\]> \[\e[0m\]' export PS1='\[\e[0;33m\][\t] \[\e[0;32m\][\W]\[\e[0m\] \[\e[0;31m\]> \[\e[0m\]'
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export PATH="$PATH:$HOME/.bin:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
# PMNG # PMNG ###################################################
export PMNG_PWD_FILE="$HOME/Vault/.password.yml" export PMNG_PWD_FILE="$HOME/Vault/.password.yml"
export PMNG_TIMEOUT=10 export PMNG_TIMEOUT=10
###########################################################
# ALIASES # CryFS ###################################################
CRYFS_FRONTEND=noninteractive
CRYFS_NO_UPDATE_CHECK=true
###########################################################
# ALIASES #################################################
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias df='df -h' alias df='df -h'
alias du='du -h' alias du='du -h'
@ -20,20 +26,23 @@ alias cfs='cryfs $HOME/.cryfs/ $HOME/Vault' # CryFS mount
alias tardir='tar -cJf "../${PWD##*/}.tar.xz"' # tar.xz current dir alias tardir='tar -cJf "../${PWD##*/}.tar.xz"' # tar.xz current dir
alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux) alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux)
# Crystal build # Crystal build ###########################################
if command -v shards &> /dev/null; then if command -v shards &> /dev/null; then
alias cbuild='shards build' alias crbuild='shards build'
fi fi
###########################################################
# NVM (Node.js version manager) # NVM (Node.js version manager) ###########################
if [ -d "$HOME/.nvm" ]; then if [ -d "$HOME/.nvm" ]; then
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PATH="$PATH:node_modules/.bin" export PATH="$PATH:node_modules/.bin"
fi fi
###########################################################
# Porteus Sulime Text # Porteus Sulime Text #####################################
if [ -d "/opt/sublime_text-4126/" ]; then if [ -d "/opt/sublime_text-4126/" ]; then
alias subl='/opt/sublime_text-4126/sublime_text' alias subl='/opt/sublime_text-4126/sublime_text'
fi fi
###########################################################