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 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
###########################################################

View File

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

1
~/Git/.gitignore vendored
View File

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

View File

@ -12,10 +12,10 @@
"show_line_endings": true, "show_line_endings": true,
"highlight_line": true, "highlight_line": true,
"folder_exclude_patterns": [".git", "node_modules", "venv", "vendor", "tpl_cache"], "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": "ignored_packages":
[ [
"Vintage", "Vintage",
], ],
"theme": "Adaptive.sublime-theme" "theme": "Adaptive.sublime-theme",
} }