Merge branch 'main' of ssh://forge.chapril.org:222/sortion/.dotfiles
This commit is contained in:
commit
58b44619d9
3
.aliases
3
.aliases
|
@ -2,11 +2,10 @@ alias o="xdg-open"
|
||||||
|
|
||||||
alias pro="cd ~/Documents/Projects"
|
alias pro="cd ~/Documents/Projects"
|
||||||
alias doc="cd ~/Documents"
|
alias doc="cd ~/Documents"
|
||||||
alias vim="nvim"
|
|
||||||
alias int="cd ~/Documents/course/licence/L3/stage/pasteur/projects/"
|
alias int="cd ~/Documents/course/licence/L3/stage/pasteur/projects/"
|
||||||
alias pdf="latexmk -pdf"
|
alias pdf="latexmk -pdf"
|
||||||
alias blog="cd ~/Documents/Projects/myself/log/"
|
alias blog="cd ~/Documents/Projects/myself/log/"
|
||||||
alias course="cd ~/Documents/course/master/M1/S1/"
|
alias course="cd ~/Documents/course/master/M1/T1/"
|
||||||
|
|
||||||
# Print field name from header with the field rank
|
# Print field name from header with the field rank
|
||||||
csv_fields() {
|
csv_fields() {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
[submodule "liquidprompt/lp-mouse"]
|
[submodule "liquidprompt/lp-mouse"]
|
||||||
path = liquidprompt/lp-mouse
|
path = liquidprompt/lp-mouse
|
||||||
url = git@github.com:UncleSamulus/lp-mouse.git
|
url = git@github.com:UncleSamulus/lp-mouse.git
|
||||||
|
[submodule "liquidprompt/lp-dotmatrix"]
|
||||||
|
path = liquidprompt/lp-dotmatrix
|
||||||
|
url = https://github.com/nojhan/lp-dotmatrix
|
||||||
|
|
16
.loadenv.sh
16
.loadenv.sh
|
@ -16,24 +16,26 @@ if type vivid >/dev/null; then
|
||||||
export LS_COLORS="$(vivid -m 8-bit generate one-dark)"
|
export LS_COLORS="$(vivid -m 8-bit generate one-dark)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eval $(thefuck --alias)
|
if type thefuck > /dev/null; then
|
||||||
|
eval $(thefuck --alias)
|
||||||
|
fi
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# >>> conda initialize >>>
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
__conda_setup="$('/home/$USER/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
|
__conda_setup="$('/home/sortion/.local/share/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
eval "$__conda_setup"
|
eval "$__conda_setup"
|
||||||
else
|
else
|
||||||
if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then
|
if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/conda.sh" ]; then
|
||||||
. "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh"
|
. "/home/sortion/.local/share/miniforge3/etc/profile.d/conda.sh"
|
||||||
else
|
else
|
||||||
export PATH="/home/$USER/.local/share/mambaforge/bin:$PATH"
|
export PATH="/home/sortion/.local/share/miniforge3/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
unset __conda_setup
|
unset __conda_setup
|
||||||
|
|
||||||
if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh" ]; then
|
if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh" ]; then
|
||||||
. "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh"
|
. "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh"
|
||||||
fi
|
fi
|
||||||
# <<< conda initialize <<<
|
# <<< conda initialize <<<
|
||||||
|
|
||||||
|
|
18
.zshrc
18
.zshrc
|
@ -30,24 +30,22 @@ antigen bundle nojhan/liquidprompt
|
||||||
|
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
|
|
||||||
|
export DOTMATRIX_HOST_LOCAL=""
|
||||||
|
export DOTMATRIX_SPACED=1
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/liquidprompt/liquidprompt
|
source ~/.antigen/bundles/nojhan/liquidprompt/liquidprompt
|
||||||
|
|
||||||
# source ~/.antigen/bundles/nojhan/liquidprompt/themes/powerline/powerline.theme && lp_theme powerline
|
|
||||||
|
|
||||||
source ~/.dotfiles/liquidprompt/lp-mouse/preset.conf
|
source ~/.dotfiles/liquidprompt/lp-dotmatrix/presets/variant-chevron.conf
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/variant-chevron.conf
|
source ~/.dotfiles/liquidprompt/lp-dotmatrix/presets/colors-green-red.conf
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/colors_green-red.conf
|
source ~/.dotfiles/liquidprompt/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
|
|
||||||
|
|
||||||
# source <(/home/sortion/.cargo/bin/starship init zsh --print-full-init)
|
|
||||||
|
|
||||||
export DOTMATRIX_SPACED=1
|
|
||||||
|
|
||||||
# if [ "$TMUX" = "" ]; then tmux; fi
|
# if [ "$TMUX" = "" ]; then tmux; fi
|
||||||
|
|
||||||
if type fortune > /dev/null; then
|
if type fortune > /dev/null; then
|
||||||
fortune
|
fortune
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
18
Makefile
18
Makefile
|
@ -1,27 +1,17 @@
|
||||||
all: pull install
|
all: pull install
|
||||||
|
|
||||||
pull:
|
pull:
|
||||||
git pull
|
git pull origin main
|
||||||
|
|
||||||
install: antigen source emacs nvim
|
install: antigen source
|
||||||
|
|
||||||
source: fish
|
source:
|
||||||
cp ~/.dotfiles/.aliases ~/.aliases
|
cp ~/.dotfiles/.aliases ~/.aliases
|
||||||
cp ~/.dotfiles/.zshrc ~/.zshrc
|
cp ~/.dotfiles/.zshrc ~/.zshrc
|
||||||
cp ~/.dotfiles/.loadenv.sh ~/.loadenv.sh
|
cp ~/.dotfiles/.loadenv.sh ~/.loadenv.sh
|
||||||
cp ~/.dotfiles/.vimrc ~/.vimrc
|
cp ~/.dotfiles/.vimrc ~/.vimrc
|
||||||
cp ~/.dotfiles/.gitconfig ~/.gitconfig
|
cp ~/.dotfiles/.gitconfig ~/.gitconfig
|
||||||
cp ~/.dotfiles/.latexmkrc ~/.latexmkrc
|
cp ~/.dotfiles/.latexmkrc ~/.latexmk
|
||||||
|
|
||||||
|
|
||||||
fish:
|
|
||||||
mkdir -p ~/.config/fish
|
|
||||||
cp ./.config/fish/config.fish ~/.config/fish/config.fish
|
|
||||||
cp ./.aliases.fish ~/.aliases.fish
|
|
||||||
cp ./.config/starship.toml ~/.config/starship.toml
|
|
||||||
|
|
||||||
nvim:
|
|
||||||
git clone ssh://gitea@forge.chapril.org:222/sortion/nvim.conf ~/.config/nvim/
|
|
||||||
|
|
||||||
antigen:
|
antigen:
|
||||||
git clone https://github.com/zsh-users/antigen.git
|
git clone https://github.com/zsh-users/antigen.git
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit be28a24b202084526ab286b0dd83435d3c112600
|
Loading…
Reference in New Issue