don't sign commits by default
This commit is contained in:
parent
1561cbb941
commit
1fe8b52a20
5 changed files with 29 additions and 43 deletions
|
@ -1,13 +0,0 @@
|
||||||
# .bash_profile
|
|
||||||
|
|
||||||
# Get the aliases and functions
|
|
||||||
if [ -f ~/.bashrc ]; then
|
|
||||||
. ~/.bashrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
# User specific environment and startup programs
|
|
||||||
|
|
||||||
export EDITOR=nvim
|
|
||||||
|
|
||||||
|
|
||||||
if [ -e /home/grue/.nix-profile/etc/profile.d/nix.sh ]; then . /home/grue/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
|
27
bash/.bashrc
27
bash/.bashrc
|
@ -1,27 +0,0 @@
|
||||||
# .bashrc
|
|
||||||
|
|
||||||
# Source global definitions
|
|
||||||
if [ -f /etc/bashrc ]; then
|
|
||||||
. /etc/bashrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 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
|
|
|
@ -1,6 +1,29 @@
|
||||||
|
# ls
|
||||||
|
alias l="ls -l"
|
||||||
|
alias la="ls -la"
|
||||||
|
alias ll="ls -lah"
|
||||||
|
alias lt="ls --tree"
|
||||||
|
|
||||||
|
# tmux
|
||||||
|
if [ -x "$(command -v tmux)" ]; then
|
||||||
|
function tn {
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
tmux new-session -s $(basename $(pwd))
|
||||||
|
else
|
||||||
|
tmux new-session -s $1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
alias tl="tmux list-sessions"
|
||||||
|
alias ta="tmux attach -t"
|
||||||
|
fi
|
||||||
|
|
||||||
# LaTeX
|
# LaTeX
|
||||||
alias luamk="latexmk -pdf -interaction=nonstopmode -pdflatex=lualatex"
|
if [ -x "$(command -v latexmk)" ]; then
|
||||||
alias lmk="latexmk -pdf -interaction=nonstopmode"
|
if [ -x "$(command -v lualatex)" ]; then
|
||||||
|
alias luamk="latexmk -pdf -interaction=nonstopmode -pdflatex=lualatex"
|
||||||
|
fi
|
||||||
|
alias lmk="latexmk -pdf -interaction=nonstopmode"
|
||||||
|
fi
|
||||||
|
|
||||||
# editor
|
# editor
|
||||||
if [ -x "$(command -v nvim)" ]; then
|
if [ -x "$(command -v nvim)" ]; then
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
export JULIA_NUM_THREADS=auto
|
export JULIA_NUM_THREADS=auto
|
||||||
|
export EDITOR=nvim
|
||||||
|
# export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
[merege]
|
[merege]
|
||||||
conflictstyle = diff3
|
conflictstyle = diff3
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = false
|
||||||
[credential]
|
[credential]
|
||||||
helper = cache --timeout 28800
|
helper = cache --timeout 28800
|
||||||
[alias]
|
[alias]
|
||||||
|
|
Loading…
Add table
Reference in a new issue