Update dotfiles
This commit is contained in:
parent
8f91a8163b
commit
b0ad24e990
4
.aliases
4
.aliases
@ -2,10 +2,8 @@ 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/cours/licence/L3/stage/pasteur/projects/"
|
|
||||||
alias blog="cd ~/Documents/Projects/myself/log/"
|
alias blog="cd ~/Documents/Projects/myself/log/"
|
||||||
alias cours="cd ~/Documents/cours/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() {
|
||||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||||
|
21
.loadenv.sh
21
.loadenv.sh
@ -16,23 +16,8 @@ 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)
|
||||||
# >>> conda initialize >>>
|
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
|
||||||
__conda_setup="$('/home/$USER/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
eval "$__conda_setup"
|
|
||||||
else
|
|
||||||
if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then
|
|
||||||
. "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh"
|
|
||||||
else
|
|
||||||
export PATH="/home/$USER/.local/share/mambaforge/bin:$PATH"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
unset __conda_setup
|
|
||||||
|
|
||||||
if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh" ]; then
|
|
||||||
. "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh"
|
|
||||||
fi
|
|
||||||
# <<< conda initialize <<<
|
|
||||||
|
15
.zshrc
15
.zshrc
@ -30,24 +30,21 @@ antigen bundle nojhan/liquidprompt
|
|||||||
|
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/liquidprompt/liquidprompt
|
export DOTMATRIX_SPACED=1
|
||||||
|
|
||||||
# source ~/.antigen/bundles/nojhan/liquidprompt/themes/powerline/powerline.theme && lp_theme powerline
|
source ~/.antigen/bundles/nojhan/liquidprompt/liquidprompt
|
||||||
|
|
||||||
source ~/.dotfiles/liquidprompt/lp-mouse/preset.conf
|
source ~/.dotfiles/liquidprompt/lp-mouse/preset.conf
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/variant-chevron.conf
|
source ~/.dotfiles/liquidprompt/lp-dotmatrix/presets/variant-chevron.conf
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/colors_green-red.conf
|
source ~/.dotfiles/liquidprompt/lp-dotmatrix/presets/colors-green-red.conf
|
||||||
|
|
||||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
|
source ~/.dotfiles/liquidprompt/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
|
||||||
|
|
||||||
|
21
Makefile
21
Makefile
@ -1,30 +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/
|
|
||||||
|
|
||||||
emacs:
|
|
||||||
git clone ssh://gitea@forge.chapril.org:222/sortion/.emacs.d.git ~/.emacs.d/
|
|
||||||
|
|
||||||
antigen:
|
antigen:
|
||||||
git clone https://github.com/zsh-users/antigen.git
|
git clone https://github.com/zsh-users/antigen.git
|
||||||
|
1
liquidprompt/lp-dotmatrix
Submodule
1
liquidprompt/lp-dotmatrix
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit be28a24b202084526ab286b0dd83435d3c112600
|
Loading…
Reference in New Issue
Block a user