Initial commit

This commit is contained in:
Samuel Ortion 2022-12-13 06:33:15 +01:00
commit e34c0c7ee1
8 changed files with 142 additions and 0 deletions

1
.aliases Normal file
View File

@ -0,0 +1 @@
alias o="evince"

5
.gitconfig Normal file
View File

@ -0,0 +1,5 @@
[init]
defaultBranch = main
[user]
name = Samuel ORTION
email = samuel.ortion@orange.fr

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
antigen/
old/

17
.loadenv.sh Normal file
View File

@ -0,0 +1,17 @@
# generated by Comonicon
# Julia bin PATH
export PATH="/home/$USER/.julia/bin:$PATH"
# generated by Comonicon
# Julia autocompletion PATH
export FPATH="/home/$USER/.julia/completions:$FPATH"
autoload -Uz compinit && compinit
# Nodejs env
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH

46
.profile Normal file
View File

@ -0,0 +1,46 @@
test -z "$PROFILEREAD" && . /etc/profile || true
# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit
# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server
# Some people don't like fortune. If you uncomment the following lines,
# you will have a fortune each time you log in ;-)
if [ -x /usr/bin/fortune ] ; then
echo
/usr/bin/fortune
echo
fi
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi

38
.vimrc Normal file
View File

@ -0,0 +1,38 @@
" My Own vimrc
set nocompatible
filetype on
filetype plugin on
filetype indent on
syntax on
set number
set cursorline
" set cursorcolumn
set tabstop=4
set expandtab
set nobackup
set ignorecase
set showmode
set showmatch
set hlsearch
set history=1000
set wildmenu
set wildmode=list:longest
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx

17
.zshrc Normal file
View File

@ -0,0 +1,17 @@
autoload antigen
source ~/.aliases
source ~/.dotfiles/antigen/antigen.zsh
antigen use oh-my-zsh
# antigen bundle nojhan/liquidprompt
antigen theme ys
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle git
antigen apply

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
all: pull install
pull:
git pull
install: antigen source
source:
cp ~/.dotfiles/.aliases ~/.aliases
cp ~/.dotfiles/.zshrc ~/.zshrc
cp ~/.loadenv.sh ~/.loadenv.sh
cp ~/.dotfiles/.gitconfig ~/.gitconfig
cp ~/.dotfiles/.vimrc ~/.vimrc
antigen:
git clone https://github.com/zsh-users/antigen.gitl