-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
59 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
alias cat='bat' | ||
alias find='fd' | ||
alias grep='rg' | ||
alias ll='ls -al' | ||
alias ls='exa' | ||
alias ls='eza' | ||
alias od='hexyl' | ||
alias ps='procs' | ||
alias vim='nvim' | ||
|
||
alias ll='ls -al' | ||
|
||
alias fcd=cd-fzf | ||
alias cr=ghq-fzf | ||
alias fvim=vi-fzf | ||
|
||
case ${OSTYPE} in | ||
darwin*) | ||
alias code='open -b com.microsoft.VSCODE' | ||
alias smerge='open -b com.sublimemerge' | ||
alias smerge='open -b com.sublimemerge' | ||
;; | ||
esac | ||
|
||
function cd-fzf() { | ||
moveto=./$(ls -d */ | fzf --reverse) | ||
cd $moveto | ||
moveto=./$(ls -d */ | fzf --reverse) | ||
cd $moveto | ||
} | ||
|
||
function ghq-fzf() { | ||
moveto=$(ghq root)/$(ghq list | fzf --reverse) | ||
cd $moveto | ||
moveto=$(ghq root)/$(ghq list | fzf --reverse) | ||
cd $moveto | ||
} | ||
|
||
function vi-fzf() { | ||
moveto=./$(find . -d 1 --type f | fzf --reverse) | ||
vim $moveto | ||
moveto=./$(find . -d 1 --type f | fzf --reverse) | ||
vim $moveto | ||
} | ||
|
||
alias fcd=cd-fzf | ||
alias cr=ghq-fzf | ||
alias fvim=vi-fzf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
eval "$(/opt/homebrew/bin/brew shellenv)" | ||
eval "$(starship init zsh)" | ||
export MODULAR_HOME="$HOME/.modular" | ||
|
||
if [ -x /opt/homebrew/bin/anyenv ] | ||
then | ||
if ! [ -f /tmp/anyenv.zsh.cache ] | ||
then | ||
anyenv init --no-rehash - zsh > /tmp/anyenv.zsh.cache | ||
zcompile /tmp/anyenv.zsh.cache | ||
fi | ||
source /tmp/anyenv.zsh.cache | ||
fi | ||
path=( | ||
/opt/homebrew/opt/curl/bin | ||
$HOME/.local/share/mise/shims | ||
$MODULAR_HOME/pkg/packages.modular.com_mojo/bin | ||
$HOME/Library/Application Support/JetBrains/Toolbox/scripts | ||
$HOME/bin | ||
$path | ||
) | ||
|
||
export GOENV_ROOT="$HOME/.goenv" | ||
export PATH="$GOENV_ROOT/bin:$PATH" | ||
export PATH="$GOROOT/bin:$PATH" | ||
export PATH="$GOPATH/bin:$PATH" | ||
source "$HOME/.cargo/env" | ||
source "$HOME/.rye/env" | ||
|
||
export MODULAR_HOME="$HOME/.modular" | ||
export PATH="$MODULAR_HOME/pkg/packages.modular.com_mojo/bin:$PATH" | ||
|
||
export PATH="$PATH:$HOME/Library/Application Support/JetBrains/Toolbox/scripts" | ||
export PATH="$PATH:$HOME/bin" | ||
eval "$(/opt/homebrew/bin/brew shellenv)" | ||
eval "$($HOME/.local/bin/mise activate zsh)" | ||
eval "$(zoxide init zsh)" | ||
eval "$(starship init zsh)" | ||
|
||
if [ -f ~/.aliases ]; then | ||
. ~/.aliases | ||
fi | ||
|
||
# if [[ -o interactive ]]; then | ||
# exec fish | ||
# fi |