This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description="HashiCorp Vault - A tool for managing secrets" Documentation=https://www.vaultproject.io/docs/ | |
Requires=network-online.target | |
StartLimitBurst=3 | |
[Service] | |
User=andy | |
PrivateDevices=yes | |
PrivateTmp=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader = "," | |
:map <leader>f :action SearchEverywhere<CR> | |
:map <leader>r :action Replace<CR> | |
:map <leader>l :action NextTab<CR> | |
:map <leader>h :action PreviousTab<CR> | |
:map <leader>e :action CloseActiveTab<CR> | |
:map <leader>g :action ReformatCode<CR> | |
:map <leader>, :action SaveAll<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup fzf | |
# --------- | |
if [[ ! "$PATH" == */home/azak/.fzf/bin* ]]; then | |
export PATH="$PATH:/home/azak/.fzf/bin" | |
fi | |
# Auto-completion | |
# --------------- | |
[[ $- == *i* ]] && source "/home/azak/.fzf/shell/completion.zsh" 2> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 0 is too far from ` ;) | |
# Start windows and panes at 1, not 0 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
set-option -g prefix C-a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/azak/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" sets virtualenv | |
let g:python3_host_prog = '/home/azak/env/bin/python' | |
" Required: | |
set runtimepath+=/home/azak/.cache/dein/repos/github.com/Shougo/dein.vim | |
set runtimepath+=/home/azak/.fzf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Advanced Aliases. | |
# Use with caution | |
# | |
# exa, the common ones I use a lot shortened for rapid fire usage | |
alias l='exa -lFh' #size,show type,human readable | |
alias la='exa -laFh -snew' #long list,show almost all,show type,human readable | |
alias lr='exa -RFh -snew' #sorted by date,recursive,show type,human readable | |
alias lt='exa -lFh -snew' #long list,sorted by date,show type,human readable | |
alias ll='exa -lh' #long list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Metrics/LineLength: | |
Max: 160 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pycodestyle] | |
count = False | |
ignore = E226,E302,E41 | |
max-line-length = 160 | |
statistics = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: | |
set runtimepath+=/home/azak/.cache/dein/repos/github.com/Shougo/dein.vim | |
set runtimepath+=/home/azak/.fzf | |
" Required: | |
if dein#load_state('/home/azak/.cache/dein') |
NewerOlder