diff options
| author | Seth Flynn <[email protected]> | 2021-08-11 03:39:50 -0400 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2021-08-11 08:18:53 -0400 |
| commit | 988e63ee653f6db8dc0746e56c4c4791964d034f (patch) | |
| tree | 93b3ac06edaf27c07e7d99574bd3288917d69dcf /shells | |
Initial commit
Diffstat (limited to 'shells')
| l--------- | shells/.bash_profile | 1 | ||||
| -rw-r--r-- | shells/.bashrc | 25 | ||||
| m--------- | shells/.local/share/zsh/fast-syntax-highlighting | 0 | ||||
| -rw-r--r-- | shells/.profile | 5 | ||||
| l--------- | shells/.zshenv | 1 | ||||
| -rw-r--r-- | shells/.zshrc | 35 |
6 files changed, 67 insertions, 0 deletions
diff --git a/shells/.bash_profile b/shells/.bash_profile new file mode 120000 index 0000000..aa7da3a --- /dev/null +++ b/shells/.bash_profile @@ -0,0 +1 @@ +.profile
\ No newline at end of file diff --git a/shells/.bashrc b/shells/.bashrc new file mode 100644 index 0000000..7c0c1e9 --- /dev/null +++ b/shells/.bashrc @@ -0,0 +1,25 @@ +# +# g3tchoo's bashrc +# + +# set prompt +export PS1="\[\e[36m\][\[\e[m\]\[\e[33m\]\u\[\e[m\]@\[\e[35m\]\h\[\e[m\] \\$ \[\e[37m\]\w\[\e[m\]\[\e[36m\]]\[\e[m\] " + +# options +shopt -s autocd +shopt -s dotglob +shopt -s histappend +set -o emacs + +# defaults +export EDITOR='nvim' +export VISUAL='nvim' +export TERM=xterm-256color + +# alias +alias vim='nvim' +alias ls='exa' + +# Use bash-completion, if available +[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ + . /usr/share/bash-completion/bash_completion diff --git a/shells/.local/share/zsh/fast-syntax-highlighting b/shells/.local/share/zsh/fast-syntax-highlighting new file mode 160000 +Subproject 817916dfa907d179f0d46d8de355e883cf67bd9 diff --git a/shells/.profile b/shells/.profile new file mode 100644 index 0000000..e297b42 --- /dev/null +++ b/shells/.profile @@ -0,0 +1,5 @@ +# add user's bin directory to path +if [ -d $HOME/.local/bin ] +then + export PATH=$HOME/.local/bin:$PATH +fi diff --git a/shells/.zshenv b/shells/.zshenv new file mode 120000 index 0000000..aa7da3a --- /dev/null +++ b/shells/.zshenv @@ -0,0 +1 @@ +.profile
\ No newline at end of file diff --git a/shells/.zshrc b/shells/.zshrc new file mode 100644 index 0000000..6d93adf --- /dev/null +++ b/shells/.zshrc @@ -0,0 +1,35 @@ +# +# g3tchoo's zshrc +# + +# completion +autoload -U compinit +zmodload zsh/complist +zstyle ':completion:*' menu select +compinit + +# options +setopt autocd +setopt appendhistory +setopt sharehistory +setopt incappendhistory +set -o emacs + +# enable history +HISTFILE="$HOME/.cache/zsh/history" +HISTSIZE=100 +SAVEHIST=1000 + +# defaults +export EDITOR='nvim' +export VISUAL='nvim' +export TERM=xterm-256color + +# alias +alias vim='nvim' +alias ls='exa' +alias la='ls -a' +alias g='git' + +source $HOME/.local/share/zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +eval "$(starship init zsh)" |
