diff --git a/.aliases b/.aliases index fbe352d..f129444 100644 --- a/.aliases +++ b/.aliases @@ -4,6 +4,8 @@ alias pdf="latexmk -pdf -gg" alias pro="cd ~/Documents/Projects" alias doc="cd ~/Documents" +alias int="cd ~/Documents/course/licence/L3/stage/pasteur/projects/" +alias pdf="latexmk -pdf" alias blog="cd ~/Documents/Projects/myself/log/" alias course="cd ~/Documents/course/master/M1/T1/" diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..fee7c10 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,12 @@ +# .bash_profile + +# Get the aliases and functions +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi + +# User specific environment and startup programs + +PATH=$PATH:$HOME/.local/bin:$HOME/bin + +export PATH \ No newline at end of file diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..b95ddec --- /dev/null +++ b/.bashrc @@ -0,0 +1,28 @@ +# .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 + diff --git a/.gitignore b/.gitignore index e922891..f4cfece 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ antigen/ +.vscode/ diff --git a/.loadenv.sh b/.loadenv.sh index 5364e21..2389d5f 100644 --- a/.loadenv.sh +++ b/.loadenv.sh @@ -1,4 +1,4 @@ -export PATH="/home/$USER/.luarocks/bin:/home/$USER/.julia/bin:/home/$USER/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/$USER/.local/bin:/home/$USER/bin:/home/$USER/Documents/cours/tools/bin/:/usr/games/:/home/$USER/.config/emacs/bin/:/usr/local/cuda/bin//" +export PATH="/home/$USER/.luarocks/bin:/home/$USER/.julia/bin:/home/$USER/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/$USER/.local/bin:/home/$USER/bin:/home/$USER/Documents/cours/tools/bin/:/usr/games/:/home/$USER/.config/emacs/bin/:/usr/local/cuda/bin/:/home/$USER/.local/share/coursier/bin/:/opt/quarto/bin/:/home/$USER/Documents/course/tools/bin/" # export EDITOR=vim export ALTERNATE_EDITOR="" @@ -49,3 +49,9 @@ PERL_LOCAL_LIB_ROOT="/home/$USER/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_R PERL_MB_OPT="--install_base \"/home/$USER/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/home/$USER/perl5"; export PERL_MM_OPT; +# Init Guix +if command -v guix &> /dev/null +then + GUIX_PROFILE="$HOME/.config/guix/current" + . "$GUIX_PROFILE/etc/profile" +fi diff --git a/.profile b/.profile index 1279183..a8b47ec 100644 --- a/.profile +++ b/.profile @@ -18,29 +18,3 @@ if [ -x /usr/bin/fortune ] ; then 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 index 85e61e5..444e1ac 100644 --- a/.vimrc +++ b/.vimrc @@ -1,4 +1,5 @@ " My Own vimrc" + set nocompatible filetype on @@ -13,6 +14,8 @@ set number set cursorline +" set cursorcolumn" + set tabstop=4 set expandtab diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a819db --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# .dotfiles +My dotfiles