1
0
Fork 0

Add .gitconfig, .vimrc, .wgetrc, and amment .zshrc

This commit is contained in:
Nexus 2024-03-05 15:13:00 +00:00
parent 9fc877afb9
commit f193362ed0
Signed by: nex
GPG key ID: 0FA334385D0B689F
4 changed files with 47 additions and 1 deletions

14
.gitconfig Normal file
View file

@ -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"

14
.vimrc Normal file
View file

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

6
.wgetrc Normal file
View file

@ -0,0 +1,6 @@
continue=on
follow_ftp=on
compression=auto
quiet=on
tries=5
show_progress=on

14
.zshrc
View file

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