From e34c0c7ee16e3143c24075aa34eab0c906a091dc Mon Sep 17 00:00:00 2001 From: Samuel ORTION Date: Tue, 13 Dec 2022 06:33:15 +0100 Subject: [PATCH] Initial commit --- .aliases | 1 + .gitconfig | 5 +++++ .gitignore | 2 ++ .loadenv.sh | 17 +++++++++++++++++ .profile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ .vimrc | 38 ++++++++++++++++++++++++++++++++++++++ .zshrc | 17 +++++++++++++++++ Makefile | 16 ++++++++++++++++ 8 files changed, 142 insertions(+) create mode 100644 .aliases create mode 100644 .gitconfig create mode 100644 .gitignore create mode 100644 .loadenv.sh create mode 100644 .profile create mode 100644 .vimrc create mode 100644 .zshrc create mode 100644 Makefile diff --git a/.aliases b/.aliases new file mode 100644 index 0000000..ee7d633 --- /dev/null +++ b/.aliases @@ -0,0 +1 @@ +alias o="evince" diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..1261d87 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,5 @@ +[init] + defaultBranch = main +[user] + name = Samuel ORTION + email = samuel.ortion@orange.fr \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04288a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +antigen/ +old/ \ No newline at end of file diff --git a/.loadenv.sh b/.loadenv.sh new file mode 100644 index 0000000..91169a0 --- /dev/null +++ b/.loadenv.sh @@ -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 \ No newline at end of file diff --git a/.profile b/.profile new file mode 100644 index 0000000..1279183 --- /dev/null +++ b/.profile @@ -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 diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..5c70faf --- /dev/null +++ b/.vimrc @@ -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 diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..27c4aba --- /dev/null +++ b/.zshrc @@ -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 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..01399fd --- /dev/null +++ b/Makefile @@ -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 \ No newline at end of file