initial commmit

This commit is contained in:
Michael Scalzetti 2022-09-20 11:16:04 -04:00
commit a25c267c22
2 changed files with 70 additions and 0 deletions

11
.gitconfig Normal file
View File

@ -0,0 +1,11 @@
[credentials]
helper = store
[user]
name = Michael Scalzetti
email = maestromike5@gmail.com
[credential]
helper = store
[git]
rebase = false
[pull]
rebase = false

59
.zshrc Normal file
View File

@ -0,0 +1,59 @@
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=500
SAVEHIST=500
setopt HIST_FIND_NO_DUPS
unsetopt autocd
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/michael/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Add highlighting
#source /home/michael/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
(( ${+ZSH_HIGHLIGHT_STYLES} )) || typeset -A ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES[path]=none
ZSH_HIGHLIGHT_STYLES[path_prefix]=none
# Add autocomplete
autoload -U compinit; compinit
autoload -Uz promptinit
tmp(){
cd $(mktemp -d)
}
setopt prompt_subst
autoload -Uz vcs_info
zstyle ':vcs_info:git*' formats \
'%F{5}%F{3} %F{5}[%F{2}%b%F{5}]%f '
zstyle ':vcs_info:*' enable git cvs svn
#zstyle ':vcs_info:git*' formats "%b [%u/%c] "
# or use pre_cmd, see man zshcontrib
vcs_info_wrapper() {
vcs_info
if [ -n "$vcs_info_msg_0_" ]; then
echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del"
fi
}
promptinit
PROMPT="[%F{001}%n%F{reset}] %F{069}%1~%F{reset} > "
RPROMPT=$'$(vcs_info_wrapper) %h | %T'
export PATH="/usr/sbin:/home/michael/.local/bin/:$PATH"
alias dl="curl -LOJ"
alias outline="/home/michael/Applications/Outline-Client.AppImage 1>/dev/null 2>/dev/null &"
alias la="ls -la"
bindkey '\e[F' end-of-line
bindkey '\e[H' beginning-of-line
neofetch