Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/git-merge-branch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
fi

git fetch origin
line_count=$(git diff origin/$main_branch..$main_branch | wc -l)
line_count=$(git diff origin/$main_branch $main_branch | wc -l)

if [ $line_count -gt 0 ]; then
printf "failed: $main_branch is not up to date with origin/$main_branch\n"
Expand Down
1 change: 0 additions & 1 deletion bin/git-up
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set -e
git fetch origin

if git symbolic-ref --short refs/remotes/origin/HEAD >/dev/null; then
git fetch origin
git rebase "$(git symbolic-ref --short refs/remotes/origin/HEAD)" "$@"
else
echo "You don't have a primary branch reference set for your origin remote.
Expand Down
2 changes: 1 addition & 1 deletion bin/tmux-sessionizer
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

set -e

cd $(ls -d /Users/nick/{.dotfiles,dev/**} | fzf)
cd $(ls -d "$HOME"/{.dotfiles,dev/**} | fzf)
1 change: 0 additions & 1 deletion config/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ brew "btop"
brew "coreutils"
brew "fd"
brew "fzf"
brew "fzf"
brew "gh"
brew "git"
brew "git-flow-avh"
Expand Down
2 changes: 1 addition & 1 deletion config/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ window_padding_width 8
macos_option_as_alt yes

font_size 13
adjust_line_height 110%
modify_font cell_height 110%

background_blur 10
background_opacity 0.95
Expand Down
2 changes: 1 addition & 1 deletion config/nvim/lua/plugins/file_types.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function()
init = function()
vim.filetype.add({
pattern = {
[".swcrc"] = "json",
Expand Down
12 changes: 7 additions & 5 deletions config/nvim/lua/plugins/nvim-tree.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
return {
"nvim-neo-tree/neo-tree.nvim",
dependencies = {
"s1n7ax/nvim-window-picker",
version = "2.*",
config = function()
require("window-picker").setup()
end,
{
"s1n7ax/nvim-window-picker",
version = "2.*",
config = function()
require("window-picker").setup()
end,
},
},
opts = {
filesystem = {
Expand Down
4 changes: 2 additions & 2 deletions config/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config.window_padding = {
bottom = 20,
}
config.front_end = "WebGpu"
config.default_cwd = "/Users/nick/dev"
config.default_cwd = wezterm.home_dir .. "/dev"

---@diagnostic disable-next-line: lowercase-global
function get_appearance()
Expand Down Expand Up @@ -57,7 +57,7 @@ config.keys = {
{
key = "l",
mods = "LEADER",
action = act.MoveTabRelative(-1),
action = act.MoveTabRelative(1),
},
{
key = "h",
Expand Down
6 changes: 3 additions & 3 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ _load_settings "$HOME/.zsh/configs"
# fi

# pnpm
export PNPM_HOME="/Users/nick/Library/pnpm"
export PNPM_HOME="$HOME/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end

export PATH="$PATH:$HOME/.maestro/bin"

# bun completions
[ -s "/Users/nick/.bun/_bun" ] && source "/Users/nick/.bun/_bun"
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"

# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"

# Created by `pipx` on 2024-04-02 16:38:45
export PATH="$PATH:/Users/nick/.local/bin"
export PATH="$PATH:$HOME/.local/bin"

if command -v zoxide &> /dev/null
then
Expand Down