Compare commits
No commits in common. "42b683b62b04b0cda9e4d8766e467c1782470c9a" and "550866878e31ae117e4790e4da93b12a482969bb" have entirely different histories.
42b683b62b
...
550866878e
6
.aliases
6
.aliases
|
|
@ -5,8 +5,7 @@ function sb() { cd $HOME/second-brain/; git pull; nvim; git add .; git commit; g
|
||||||
|
|
||||||
## Open work folder with fuzzy finder
|
## Open work folder with fuzzy finder
|
||||||
function work() {
|
function work() {
|
||||||
work_dirs=( "$HOME/clones" "$HOME/sandbox" "$HOME/TA/" )
|
work_dirs=( "$HOME/clones" "$HOME/sandbox" )
|
||||||
work_dirs=( $(find $work_dirs -maxdepth 0 -type d 2> /dev/null) )
|
|
||||||
goto=""
|
goto=""
|
||||||
if [ ! -z $1 ]; then
|
if [ ! -z $1 ]; then
|
||||||
goto=$(find $work_dirs -maxdepth 1 -mindepth 1 -type d | fzf -f $1)
|
goto=$(find $work_dirs -maxdepth 1 -mindepth 1 -type d | fzf -f $1)
|
||||||
|
|
@ -21,7 +20,7 @@ function work() {
|
||||||
tmux new -A -s "$(basename -- $goto)" -c "$goto"
|
tmux new -A -s "$(basename -- $goto)" -c "$goto"
|
||||||
else
|
else
|
||||||
tmux new -d -s "$(basename -- $goto)" -c "$goto"
|
tmux new -d -s "$(basename -- $goto)" -c "$goto"
|
||||||
tmux switch-client -t "$(basename -- $goto | tr . _)"
|
tmux switch-client -t "$(basename -- $goto)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -51,4 +50,3 @@ alias dotvenv='source .venv/bin/activate'
|
||||||
alias todo='rusty-tasks'
|
alias todo='rusty-tasks'
|
||||||
alias ccat='bat'
|
alias ccat='bat'
|
||||||
alias we='watchexec'
|
alias we='watchexec'
|
||||||
alias netcheck='ping 8.8.8.8'
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit a54d69c808e7dbf1893da9da655751419e7a37a0
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
d = diff
|
d = diff
|
||||||
dc = diff -cached
|
dc = diff -cached
|
||||||
lol = log --decorate --pretty=oneline --abbrev-commit
|
lol = log --decorate --pretty=oneline --abbrev-commit
|
||||||
lg = "log --pretty=format:'%C(auto) %h,%C(green) \"%s\"%Creset, %aN,%C(blue) %cD'"
|
lg = log --pretty=format:'%C(auto) %h,%C(green) \"%s\"%Creset, %aN,%C(blue) %cD'
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
editor = nvim
|
editor = nvim
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
[submodule ".config/nvim"]
|
|
||||||
path = .config/nvim
|
|
||||||
url = git@github.com:andrei-stoica/kickstart.nvim.git
|
|
||||||
branch = custom
|
|
||||||
2
.zshrc
2
.zshrc
|
|
@ -1,4 +1,6 @@
|
||||||
zmodload zsh/zprof
|
zmodload zsh/zprof
|
||||||
|
export NVM_LAZY_LOAD=true
|
||||||
|
export NVM_COMPLETION=true
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
export PATH=$HOME/bin:/usr/local/bin:/usr/lib65/openjdk-17/bin:$PATH
|
export PATH=$HOME/bin:/usr/local/bin:/usr/lib65/openjdk-17/bin:$PATH
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue