Skip to content

Personalized Zsh configurations and command shortcuts as well as custom bindings and plugins for an optimized Tmux experience.

Notifications You must be signed in to change notification settings

petemckinneysb/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adding symlinks to dotfiles repository configuration files

    ln -sf ~/github/dotfiles/.tmux.conf ~/.tmux.conf
    ln -sf ~/github/dotfiles/.zshrc ~/.zshrc
    ln -sf ~/github/dotfiles/.zsh_aliases ~/.zsh_aliases

tmux plugins:

Install by cloning the following repository https://github.com/tmux-plugins/tpm

Other dependencies:

Most dependencies are installed using brew. Check the github README.md installation instructions for each of the links below.

github cli

jq command-line JSON processor

brew tap ankitpokhrel/jira-cli
brew install jira-cli

Make sure to create a personal access token in jira through the /ViewProfile.jspa (Profile picture in the top right, click on Profile) page and set it in your preferred zsh/bash file:

export JIRA_API_TOKEN=yourpersonalaccesstoken

fzf fuzzy finder

jira cli

fd alternative to find

neovim

ohmyzsh

Alacrtty

ln -s ~/github/dotfiles/alacritty ~/.config/alacritty

Commands

NOTE: All commands assume the git branch will contian the jira ticket number

open_ticket

Opens the associated jira ticket from the current branch for the current repository in the present working directory

new_branch

Uses the jira-cli to grab a list of tickets assigned to @me and displays them for selection. Once selected the user must enter a prefix and a suffix. The branch will be created as prefix/ticket_number-suffix

pr_ready {target_branch}

Uses the github cli, jira cli to open a pull request and update the associated jira ticket.

  • executes gh pr create --base={target_branch} --head "{current_branch}" --title="{current_branch} --body "$PR_BODY
  • The PR template used is found in .github/PULL_REQUEST_TEMPLATE.md of the current repo
  • The PR body is generated by taking a diff between the current branch and the remote target branch.
  • The ticket number in the body is replaced with the current ticket number
  • The jira ticket is updated to the 'Verified' status.
  • The jira ticket fix version is updated to the current fix version from the current branch.

About

Personalized Zsh configurations and command shortcuts as well as custom bindings and plugins for an optimized Tmux experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages