Skip to content

Commit

Permalink
Merge pull request #39 from edheltzel/feature/zsh
Browse files Browse the repository at this point in the history
feature/zsh
  • Loading branch information
edheltzel authored Feb 14, 2024
2 parents 20daa29 + b9e958a commit ffcd2a5
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 21 deletions.
1 change: 0 additions & 1 deletion fish/.config/fish/fish_plugins
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ patrickf1/fzf.fish
meaningful-ooo/sponge
z11i/github-copilot-cli.fish
joseluisq/gitnow
laughedelic/pisces
james2doyle/omf-plugin-artisan
edheltzel/fisher-plugin-macos
oh-my-fish/plugin-bang-bang
12 changes: 6 additions & 6 deletions nvim/.config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"LuaSnip": { "branch": "master", "commit": "2dbef19461198630b3d7c39f414d09fb07d1fdd2" },
"SchemaStore.nvim": { "branch": "main", "commit": "91b56a811d87b9e7e0600c95f80ff2d08245bf61" },
"bufferline.nvim": { "branch": "main", "commit": "b15c6daf5a64426c69732b31a951f4e438cb6590" },
"catppuccin": { "branch": "main", "commit": "c2034f7b549152e5cc757820426341ea5000bc7a" },
"catppuccin": { "branch": "main", "commit": "b76ada82bf2019d5e343018b4104cc9266900c16" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
Expand All @@ -18,7 +18,7 @@
"lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" },
"leap.nvim": { "branch": "main", "commit": "d77682020ad1562c36c67b2d2e7003393e7a2edb" },
"lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "fe4cce44dec93c69be17dad79b21de867dde118a" },
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
"mini.ai": { "branch": "main", "commit": "858cee0a97726c7941e3b5ef8d0e1cbefe35890a" },
"mini.animate": { "branch": "main", "commit": "82519630b2760ffc516ebc387bef632f9c07b9f5" },
Expand All @@ -29,15 +29,15 @@
"mini.surround": { "branch": "main", "commit": "a1b590cc3b676512de507328d6bbab5e43794720" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "e578fe7a5832421b0d2c5b3c0a7a1e40e0f6a47a" },
"neoconf.nvim": { "branch": "main", "commit": "e169205e76a2c19480906b66d747a569dc2af86b" },
"neodev.nvim": { "branch": "main", "commit": "a09881379ac7abddb8091c5edd292805a53ccf18" },
"neodev.nvim": { "branch": "main", "commit": "365ef03dbf5b8579e6eb205b3500fc3bee17484a" },
"noice.nvim": { "branch": "main", "commit": "bf67d70bd7265d075191e7812d8eb42b9791f737" },
"nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" },
"nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
"nvim-lint": { "branch": "master", "commit": "966ab3dc37eee3e413692264b44a3011b05a6060" },
"nvim-lspconfig": { "branch": "master", "commit": "ae91a303a2258cb9cd9501e9d20c2dc92792d362" },
"nvim-lspconfig": { "branch": "master", "commit": "c656fe5a58b9eae474f61d294648a897d53639cc" },
"nvim-notify": { "branch": "master", "commit": "80b67b265530632505193553d05127ae7fe09ddd" },
"nvim-spectre": { "branch": "master", "commit": "6a0785ef64c839d935a2f92e20988e962fb6537e" },
"nvim-treesitter": { "branch": "master", "commit": "2b6020247d44b691a219990a5d1410087c87463f" },
"nvim-treesitter": { "branch": "master", "commit": "883c72cddc34195a3b916905f6e61d789ddd3599" },
"nvim-treesitter-context": { "branch": "master", "commit": "f2ef98cd18fca352448756d3feb6e58d82583274" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "dd0b2036c3a27cb6e6486f8bd24188c6ca43af0b" },
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
Expand All @@ -46,7 +46,7 @@
"persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" },
"plenary.nvim": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
"telescope.nvim": { "branch": "master", "commit": "0f865f17af4f9bc1587a0132414cdfd32d91852e" },
"telescope.nvim": { "branch": "master", "commit": "eb88dc6434194bd8eebfcc6ade5dd36e850849ce" },
"todo-comments.nvim": { "branch": "main", "commit": "833d8dd8b07eeda37a09e99460f72a02616935cb" },
"tokyonight.nvim": { "branch": "main", "commit": "610179f7f12db3d08540b6cc61434db2eaecbcff" },
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
Expand Down
4 changes: 2 additions & 2 deletions zsh/.config/zsh/aliases.zsh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/sh
# Workflow aliases
alias reload='exec $SHELL'
alias local='cd ~/.local && l'
alias config='cd ~/.config && l'
alias usebash='chsh -s $(which bash)'
alias usefish='chsh -s $(which fish)'

Expand All @@ -29,6 +27,8 @@ alias tree='eza --tree --icons $*'
alias cll='clear && eza -lah --icons --sort modified'

# Projects shortcuts/aliases and actions
alias local='cd ~/.local && l'
alias config='cd ~/.config && l'
alias projects='cd ~/Developer && l'
alias dev='cd ~/Developer && l'
alias work='cd ~/Developer/work && l'
Expand Down
2 changes: 1 addition & 1 deletion zsh/.config/zsh/functions/upp.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function upp {
# Run topgrade
topgrade
topgrade --only brew_cask brew_formula

# Run brew cleanup
printf '\n―― %s - Brew - Cleanup ―――――――――――――――――――――――――――――――――――――――――――――――――――\n' $(date "+%H:%M:%S")
Expand Down
6 changes: 6 additions & 0 deletions zsh/.zprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Load and initialise completion system
autoload -Uz compinit
compinit

# homebrew
eval "$(/opt/homebrew/bin/brew shellenv)"
11 changes: 0 additions & 11 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh"

##### plugins ######
plug "zap-zsh/supercharge"
plug "zsh-users/zsh-syntax-highlighting"
plug "hlissner/zsh-autopair"

# Load and initialise completion system
autoload -Uz compinit
compinit

##### source ######
source ~/.config/zsh/exports.zsh
source ~/.config/zsh/aliases.zsh
Expand Down

0 comments on commit ffcd2a5

Please sign in to comment.