first commit
This commit is contained in:
5
.bash_aliases
Normal file
5
.bash_aliases
Normal file
@@ -0,0 +1,5 @@
|
||||
alias up='apt update && apt list --upgradable && apt dist-upgrade'
|
||||
alias ipt='ufw status numbered'
|
||||
alias wstats='watch -n 1 iostat -sxy --human sd{a,b} 1 1'
|
||||
alias lxc='incus'
|
||||
alias lxcm='incus monitor --type=logging --pretty'
|
||||
19
.bashrc
Normal file
19
.bashrc
Normal file
@@ -0,0 +1,19 @@
|
||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
|
||||
# You may uncomment the following lines if you want `ls' to be colorized:
|
||||
# export LS_OPTIONS='--color=auto'
|
||||
# eval "$(dircolors)"
|
||||
alias ls='ls $LS_OPTIONS'
|
||||
alias ll='ls $LS_OPTIONS -l'
|
||||
alias l='ls $LS_OPTIONS -lA'
|
||||
#
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
export EDITOR=vim
|
||||
20
.gitconfig
Normal file
20
.gitconfig
Normal file
@@ -0,0 +1,20 @@
|
||||
[user]
|
||||
name = Julien Lutran
|
||||
email = julien@lutran.fr
|
||||
[push]
|
||||
default = matching
|
||||
[core]
|
||||
editor = /usr/bin/vim -f
|
||||
precomposeUnicode = true
|
||||
[alias]
|
||||
st = status
|
||||
cp = cherry-pick
|
||||
br = branch
|
||||
co = checkout
|
||||
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --no-merges
|
||||
undo = reset HEAD~
|
||||
clean = !git reset --hard @{upstream}
|
||||
wip = for-each-ref --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads --no-merged
|
||||
changelog = log --oneline --no-decorate --no-merges --pretty='tformat:- %s (%h)' ...origin/master
|
||||
[init]
|
||||
defaultBranch = main
|
||||
7
.profile
Normal file
7
.profile
Normal file
@@ -0,0 +1,7 @@
|
||||
# ~/.profile: executed by Bourne-compatible login shells.
|
||||
|
||||
if [ "$BASH" ]; then
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
fi
|
||||
3
.ssh/config
Normal file
3
.ssh/config
Normal file
@@ -0,0 +1,3 @@
|
||||
Host git.lutran.fr
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
Port 2244
|
||||
Reference in New Issue
Block a user