diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..a925ce9 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,14 @@ +[user] + name = nexy7574 + email = git@nexy7574.co.uk + signingkey = 0FA334385D0B689F +[color] + ui = always +[pull] + rebase = false +[commit] + gpgsign = true +[init] + defaultBranch = master +[alias] + ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi" diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..c8b7f73 --- /dev/null +++ b/.vimrc @@ -0,0 +1,14 @@ +set number +set ai +set autoindent +set tabstop=4 +filetype on +filetype plugin on +filetype indent on +syntax on +set nocompatible +set expandtab +set hlsearch +set wildmenu +set wildmode=list:longest +set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx diff --git a/.wgetrc b/.wgetrc new file mode 100644 index 0000000..bbb520a --- /dev/null +++ b/.wgetrc @@ -0,0 +1,6 @@ +continue=on +follow_ftp=on +compression=auto +quiet=on +tries=5 +show_progress=on diff --git a/.zshrc b/.zshrc index dc1b702..a520879 100644 --- a/.zshrc +++ b/.zshrc @@ -1,6 +1,12 @@ # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH +zstyle :omz:plugins:ssh-agent quiet yes +export SUDO_PROMPT="$(tput bold setaf 7)[sudo]$(tput sgr0) $(tput setaf 6)password for$(tput sgr0) $(tput setaf 5)%p$(tput sgr0): " +# Set up pyenv & PATH +export PYENV_ROOT="$HOME/.pyenv" +command -v pyenv >/dev/null && eval "$(pyenv init -)" + # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" @@ -61,7 +67,7 @@ HIST_STAMPS="dd.mm.yyyy" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git sudo rsync zsh-syntax-highlighting zsh-autosuggestions) +plugins=(git sudo rsync zsh-syntax-highlighting zsh-autosuggestions command-not-found ) source $ZSH/oh-my-zsh.sh @@ -80,3 +86,9 @@ export ARCHFLAGS="-arch x86_64" # Enable GPG signing for git export GPG_TTY=$(tty) +autoload -U bashcompinit +bashcompinit +eval "$(register-python-argcomplete pipx)" + +# Load nvm if possible +[ -z "/usr/share/nvm/init-nvm.sh" ] && source /usr/share/nvm/init-nvm.sh