mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-13 21:53:20 +03:00
sync
This commit is contained in:
33
.bashrc
33
.bashrc
@@ -155,3 +155,36 @@ echo -e "\033]11;#000000\a"
|
|||||||
# Generated for envman. Do not edit.
|
# Generated for envman. Do not edit.
|
||||||
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
|
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
|
||||||
|
|
||||||
|
|
||||||
|
# >>> mamba initialize >>>
|
||||||
|
# !! Contents within this block are managed by 'mamba init' !!
|
||||||
|
export MAMBA_EXE="/home/neo/.micromamba/bin/micromamba";
|
||||||
|
export MAMBA_ROOT_PREFIX="/home/neo/micromamba";
|
||||||
|
__mamba_setup="$('/home/neo/.micromamba/bin/micromamba' shell hook --shell bash --prefix '/home/neo/micromamba' 2> /dev/null)"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
eval "$__mamba_setup"
|
||||||
|
else
|
||||||
|
if [ -f "/home/neo/micromamba/etc/profile.d/micromamba.sh" ]; then
|
||||||
|
. "/home/neo/micromamba/etc/profile.d/micromamba.sh"
|
||||||
|
else
|
||||||
|
export PATH="/home/neo/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
unset __mamba_setup
|
||||||
|
# <<< mamba initialize <<<
|
||||||
|
|
||||||
|
# >>> conda initialize >>>
|
||||||
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
|
__conda_setup="$('/home/neo/micromamba/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
eval "$__conda_setup"
|
||||||
|
else
|
||||||
|
if [ -f "/home/neo/micromamba/etc/profile.d/conda.sh" ]; then
|
||||||
|
. "/home/neo/micromamba/etc/profile.d/conda.sh"
|
||||||
|
else
|
||||||
|
export PATH="/home/neo/micromamba/bin:$PATH"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
unset __conda_setup
|
||||||
|
# <<< conda initialize <<<
|
||||||
|
|
||||||
|
|||||||
4
.vimrc
4
.vimrc
@@ -17,6 +17,8 @@ call vundle#begin()
|
|||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
Plugin 'neoclide/coc.nvim'
|
Plugin 'neoclide/coc.nvim'
|
||||||
Plugin 'preservim/nerdtree'
|
Plugin 'preservim/nerdtree'
|
||||||
|
Plugin 'nvim-lua/plenary.nvim'
|
||||||
|
Plugin 'jose-elias-alvarez/null-ls.nvim'
|
||||||
Plugin 'nathanaelkane/vim-indent-guides'
|
Plugin 'nathanaelkane/vim-indent-guides'
|
||||||
"Plugin 'nvim-lualine/lualine.nvim'
|
"Plugin 'nvim-lualine/lualine.nvim'
|
||||||
Plugin 'kyazdani42/nvim-web-devicons'
|
Plugin 'kyazdani42/nvim-web-devicons'
|
||||||
@@ -92,7 +94,7 @@ nnoremap <F5> "=strftime("%I:%M %p %a %d/%m/%Y")<CR>p
|
|||||||
inoremap <F5> <C-R>=strftime("%I:%M %p %a %d/%m/%Y")<CR>
|
inoremap <F5> <C-R>=strftime("%I:%M %p %a %d/%m/%Y")<CR>
|
||||||
|
|
||||||
"set list " show invisible characters
|
"set list " show invisible characters
|
||||||
"set mouse=a " try to use a mouse in the console (wimp!)
|
set mouse=a " try to use a mouse in the console (wimp!)
|
||||||
set autoindent " set the cursor at same indent as line above
|
set autoindent " set the cursor at same indent as line above
|
||||||
set smartindent " try to be smart about indenting (C-style)
|
set smartindent " try to be smart about indenting (C-style)
|
||||||
set noexpandtab
|
set noexpandtab
|
||||||
|
|||||||
26
.zshrc
26
.zshrc
@@ -9,6 +9,9 @@
|
|||||||
#Exports
|
#Exports
|
||||||
EDITOR=nvim
|
EDITOR=nvim
|
||||||
|
|
||||||
|
# Set Terminal Background so I know I'm SSH'd
|
||||||
|
echo -e "\033]11;#141414\a"
|
||||||
|
|
||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
|
|
||||||
alias ls='ls -hF --color' # add colors for filetype recognition
|
alias ls='ls -hF --color' # add colors for filetype recognition
|
||||||
@@ -32,7 +35,7 @@ alias did="vim +'normal Go' +'r!date' ~/did.txt"
|
|||||||
alias genpass="apg -a 1 -M lnc -n 9 -m 26"
|
alias genpass="apg -a 1 -M lnc -n 9 -m 26"
|
||||||
|
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
PATH=$GOPATH/bin:$PATH
|
PATH=$GOPATH/bin:/home/neo/mongoClient::$PATH
|
||||||
|
|
||||||
source /etc/profile.d/go.sh
|
source /etc/profile.d/go.sh
|
||||||
source ~/.private.env
|
source ~/.private.env
|
||||||
@@ -43,6 +46,11 @@ alias ktx='kubectx'
|
|||||||
alias knx='kubens'
|
alias knx='kubens'
|
||||||
|
|
||||||
setopt no_flow_control
|
setopt no_flow_control
|
||||||
|
function rename() {
|
||||||
|
echo "Renaming window to $1"
|
||||||
|
tmux rename-window $1
|
||||||
|
}
|
||||||
|
|
||||||
function fzf-ssh () {
|
function fzf-ssh () {
|
||||||
local selected_host=$(grep "Host " ~/.ssh/config | grep -v '*' | cut -b 6- | fzf --query "$LBUFFER" --prompt="SSH Remote > ")
|
local selected_host=$(grep "Host " ~/.ssh/config | grep -v '*' | cut -b 6- | fzf --query "$LBUFFER" --prompt="SSH Remote > ")
|
||||||
|
|
||||||
@@ -139,3 +147,19 @@ unset key
|
|||||||
|
|
||||||
# Scaleway CLI autocomplete initialization.
|
# Scaleway CLI autocomplete initialization.
|
||||||
eval "$(scw autocomplete script shell=zsh)"
|
eval "$(scw autocomplete script shell=zsh)"
|
||||||
|
|
||||||
|
# >>> conda initialize >>>
|
||||||
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
|
__conda_setup="$('/home/neo/micromamba/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
eval "$__conda_setup"
|
||||||
|
else
|
||||||
|
if [ -f "/home/neo/micromamba/etc/profile.d/conda.sh" ]; then
|
||||||
|
. "/home/neo/micromamba/etc/profile.d/conda.sh"
|
||||||
|
else
|
||||||
|
export PATH="/home/neo/micromamba/bin:$PATH"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
unset __conda_setup
|
||||||
|
# <<< conda initialize <<<
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user