Skip to content

cserino/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

my dotfiles

run setup.sh

then add to .zshrc:

export PATH=$HOME/.local/bin:$PATH
export EDITOR=nvim
alias vv=nvim

function tmi () {
  session=$(basename $PWD)
  tmux has-session -t $session 2> /dev/null
  tmux_session_exists=$?
  if [ $tmux_session_exists != 0 ]; then
    tmux new-session -s $session
  else
    tmux attach-session -dt $session
  fi
}

function jump () {
  workspace_dir=$HOME/workspace
  pushd $workspace_dir > /dev/null
  project_dir=$(find . -maxdepth 2 -type d | fzf)
  did_selection=$?
  popd > /dev/null
  if [ $did_selection = 0 ]; then
    cd $workspace_dir/$project_dir && tmi
  fi
}

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 97.0%
  • Shell 3.0%