Compare commits

...

2 Commits

Author SHA1 Message Date
Alexander Popov 6041a99ea6 ignore .directory file 2023-04-05 12:02:51 +03:00
Alexander Popov d5c2307eeb cryfs env 2023-04-05 12:00:30 +03:00
4 changed files with 21 additions and 11 deletions

View File

@ -4,13 +4,19 @@
export PS1='\[\e[0;33m\][\t] \[\e[0;32m\][\W]\[\e[0m\] \[\e[0;31m\]> \[\e[0m\]'
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_TIMEOUT=10
###########################################################
# ALIASES
# CryFS ###################################################
CRYFS_FRONTEND=noninteractive
CRYFS_NO_UPDATE_CHECK=true
###########################################################
# ALIASES #################################################
alias ls='ls --color=auto'
alias df='df -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 pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux)
# Crystal build
# Crystal build ###########################################
if command -v shards &> /dev/null; then
alias cbuild='shards build'
alias crbuild='shards build'
fi
###########################################################
# NVM (Node.js version manager)
# NVM (Node.js version manager) ###########################
if [ -d "$HOME/.nvm" ]; then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PATH="$PATH:node_modules/.bin"
fi
###########################################################
# Porteus Sulime Text
# Porteus Sulime Text #####################################
if [ -d "/opt/sublime_text-4126/" ]; then
alias subl='/opt/sublime_text-4126/sublime_text'
fi
###########################################################

View File

@ -13,14 +13,14 @@
[user]
name = Alexander Popov
email = iiiypuk@fastmail.fm
signingkey = 9F04A70C
signingkey =
[core]
eol = lf
autocrlf = input
excludesFile = ~/.gitignore
editor = micro
[commit]
gpgsign = true
gpgsign = false
[gpg]
program = /usr/bin/gpg
[init]

1
~/Git/.gitignore vendored
View File

@ -3,3 +3,4 @@ __pycache__/
node_modules/
vendor/
composer.phar
.directory

View File

@ -12,10 +12,10 @@
"show_line_endings": true,
"highlight_line": true,
"folder_exclude_patterns": [".git", "node_modules", "venv", "vendor", "tpl_cache"],
"file_exclude_patterns": ["composer.phar", "*.sqlite3"],
"file_exclude_patterns": ["composer.phar", "*.sqlite3", ".directory"],
"ignored_packages":
[
"Vintage",
],
"theme": "Adaptive.sublime-theme"
"theme": "Adaptive.sublime-theme",
}