Compare commits
6 Commits
550866878e
...
42b683b62b
| Author | SHA1 | Date |
|---|---|---|
|
|
42b683b62b | |
|
|
30e7cf3d02 | |
|
|
b0296177f6 | |
|
|
d1c391a7ec | |
|
|
ca37a74180 | |
|
|
19f6c5d5d2 |
6
.aliases
6
.aliases
|
|
@ -5,7 +5,8 @@ function sb() { cd $HOME/second-brain/; git pull; nvim; git add .; git commit; g
|
|||
|
||||
## Open work folder with fuzzy finder
|
||||
function work() {
|
||||
work_dirs=( "$HOME/clones" "$HOME/sandbox" )
|
||||
work_dirs=( "$HOME/clones" "$HOME/sandbox" "$HOME/TA/" )
|
||||
work_dirs=( $(find $work_dirs -maxdepth 0 -type d 2> /dev/null) )
|
||||
goto=""
|
||||
if [ ! -z $1 ]; then
|
||||
goto=$(find $work_dirs -maxdepth 1 -mindepth 1 -type d | fzf -f $1)
|
||||
|
|
@ -20,7 +21,7 @@ function work() {
|
|||
tmux new -A -s "$(basename -- $goto)" -c "$goto"
|
||||
else
|
||||
tmux new -d -s "$(basename -- $goto)" -c "$goto"
|
||||
tmux switch-client -t "$(basename -- $goto)"
|
||||
tmux switch-client -t "$(basename -- $goto | tr . _)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -50,3 +51,4 @@ alias dotvenv='source .venv/bin/activate'
|
|||
alias todo='rusty-tasks'
|
||||
alias ccat='bat'
|
||||
alias we='watchexec'
|
||||
alias netcheck='ping 8.8.8.8'
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a54d69c808e7dbf1893da9da655751419e7a37a0
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
d = diff
|
||||
dc = diff -cached
|
||||
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]
|
||||
editor = nvim
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
[submodule ".config/nvim"]
|
||||
path = .config/nvim
|
||||
url = git@github.com:andrei-stoica/kickstart.nvim.git
|
||||
branch = custom
|
||||
Loading…
Reference in New Issue