From e5f0913566633fafaf3b70295605a61f455649bd Mon Sep 17 00:00:00 2001 From: Julien Lutran Date: Tue, 25 Nov 2025 21:36:31 +0000 Subject: [PATCH] first commit --- .bash_aliases | 5 +++++ .bashrc | 19 +++++++++++++++++++ .gitconfig | 20 ++++++++++++++++++++ .profile | 7 +++++++ .ssh/config | 3 +++ .vimrc | 5 +++++ 6 files changed, 59 insertions(+) create mode 100644 .bash_aliases create mode 100644 .bashrc create mode 100644 .gitconfig create mode 100644 .profile create mode 100644 .ssh/config create mode 100644 .vimrc diff --git a/.bash_aliases b/.bash_aliases new file mode 100644 index 0000000..79285ce --- /dev/null +++ b/.bash_aliases @@ -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' diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..0973237 --- /dev/null +++ b/.bashrc @@ -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 diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..a9fcf60 --- /dev/null +++ b/.gitconfig @@ -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 diff --git a/.profile b/.profile new file mode 100644 index 0000000..bc300dd --- /dev/null +++ b/.profile @@ -0,0 +1,7 @@ +# ~/.profile: executed by Bourne-compatible login shells. + +if [ "$BASH" ]; then + if [ -f ~/.bashrc ]; then + . ~/.bashrc + fi +fi diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..1d244ee --- /dev/null +++ b/.ssh/config @@ -0,0 +1,3 @@ +Host git.lutran.fr + IdentityFile ~/.ssh/id_rsa + Port 2244 diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..d9bbfb8 --- /dev/null +++ b/.vimrc @@ -0,0 +1,5 @@ +syntax on +filetype plugin indent on +set nocompatible +set t_Co=256 +set expandtab tabstop=4 shiftwidth=4