Initial dotfiles commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# .bashrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
export TIME_STYLE="long-iso"
|
||||
|
||||
# User specific environment
|
||||
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
fi
|
||||
export PATH
|
||||
|
||||
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||
# export SYSTEMD_PAGER=
|
||||
|
||||
# User specific aliases and functions
|
||||
if [ -d ~/.bashrc.d ]; then
|
||||
for rc in ~/.bashrc.d/*; do
|
||||
if [ -f "$rc" ]; then
|
||||
. "$rc"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
unset rc
|
||||
|
||||
# >>> grok installer >>>
|
||||
export PATH="$HOME/.grok/bin:$PATH"
|
||||
[[ -r "$HOME/.grok/completions/bash/grok.bash" ]] && source "$HOME/.grok/completions/bash/grok.bash"
|
||||
# <<< grok installer <<<
|
||||
@@ -0,0 +1,15 @@
|
||||
# DNF aliases for apt/pacman muscle memory
|
||||
alias apt='sudo dnf'
|
||||
alias apt-get='sudo dnf'
|
||||
alias apt-update='sudo dnf update -y'
|
||||
alias apt-upgrade='sudo dnf upgrade -y'
|
||||
alias apt-install='sudo dnf install -y'
|
||||
alias apt-remove='sudo dnf remove -y'
|
||||
alias apt-search='dnf search'
|
||||
|
||||
alias pacman='sudo dnf'
|
||||
alias pacman-update='sudo dnf update -y'
|
||||
alias pacman-upgrade='sudo dnf upgrade -y'
|
||||
alias pacman-install='sudo dnf install -y'
|
||||
alias pacman-remove='sudo dnf remove -y'
|
||||
alias pacman-search='dnf search'
|
||||
@@ -0,0 +1,35 @@
|
||||
[init]
|
||||
defaultBranch = master
|
||||
# User settings
|
||||
[include]
|
||||
path = ~/.gitconfig.user
|
||||
[http]
|
||||
lowSpeedLimit = 1000
|
||||
lowSpeedTime = 60
|
||||
postBuffer = 524288000
|
||||
[format]
|
||||
pretty = "%w(79, 0, 29) %C(white)%cd%Creset | %C(magenta)%h%Creset | %s%x09%cr"
|
||||
[log]
|
||||
date = format:%Y.%m.%d %H:%M:%S %z
|
||||
[mergetool]
|
||||
keepBackup = false
|
||||
[advice]
|
||||
addIgnoredFile = false
|
||||
[user]
|
||||
name = Angelo Noto
|
||||
email = [email protected]
|
||||
[core]
|
||||
excludesfile = /home/anoto/.gitignore_global
|
||||
editor = code --wait
|
||||
# pager = code --wait -
|
||||
[diff]
|
||||
tool = vscode
|
||||
[difftool "vscode"]
|
||||
cmd = code --wait --diff $LOCAL $REMOTE
|
||||
[merge]
|
||||
tool = vscode
|
||||
conflictstyle = diff3
|
||||
[mergetool "vscode"]
|
||||
cmd = code --wait $MERGED
|
||||
[alias]
|
||||
open = code .git/config .
|
||||
Reference in New Issue
Block a user