Compare commits

...

2 commits

Author SHA1 Message Date
05c3181b03
actually source the plugin 2023-04-24 13:36:31 -05:00
72c9fa386e
promote tn to a smarter function 2023-04-24 13:36:00 -05:00
5 changed files with 38 additions and 22 deletions

View file

@ -1,3 +1,10 @@
return {
{ "mickael-menu/zk-nvim" },
{
"mickael-menu/zk-nvim",
config = function()
require("zk").setup({
-- See Setup section below
})
end,
},
}

View file

@ -4,21 +4,26 @@ return {
opts = function()
local dashboard = require("alpha.themes.dashboard")
local logo = [[
]]
]]
dashboard.section.header.val = vim.split(logo, "\n")
math.randomseed(os.time())

View file

@ -1,5 +0,0 @@
# function pmodload {
# if you are using Prezto, you'll need an empty pmodload function
# }
# vim: ft=zsh sw=2 ts=2 et

View file

@ -0,0 +1,9 @@
#!/usr/bin/env zsh
##? create a new tmux session
##? use current directory name as a fallback
if [ -z "$1" ]; then
tmux new-session -s "${PWD:A:t2}"
else
tmux new-session -s "$1"
fi

View file

@ -3,6 +3,6 @@ alias t-labbook="$DOTFILES_DIR/tmux/labbook.sh"
alias tmux="tmux -f $HOME/.config/tmux/tmux.conf"
alias t='tmux'
alias ta='tmux attach -t'
alias tn='tmux new-session -s'
# alias tn='tmux new-session -s'
alias tl='tmux list-sessions'