mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 02:29:57 +01:00
Compare commits
4 Commits
f623cf3942
...
ff8d4a638d
Author | SHA1 | Date | |
---|---|---|---|
|
ff8d4a638d | ||
|
df9430cde0 | ||
|
2c0dd6666e | ||
|
bc5ef993c7 |
@ -13,7 +13,8 @@ fi
|
|||||||
|
|
||||||
# Better exa
|
# Better exa
|
||||||
if [[ -x $(which exa) ]]; then
|
if [[ -x $(which exa) ]]; then
|
||||||
alias exa='pwd; exa -la --group-directories-first --git -g'
|
alias exa='pwd; exa --long --all --all --group-directories-first --git --group'
|
||||||
|
# --all (2x) to show `.` and `..` directories as well
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Better lsd
|
# Better lsd
|
||||||
|
22
zsh/env
22
zsh/env
@ -49,14 +49,13 @@ fi
|
|||||||
|
|
||||||
# Add syncthing synced binary folder to $PATH
|
# Add syncthing synced binary folder to $PATH
|
||||||
if [[ $platform == 'macOS' ]]; then
|
if [[ $platform == 'macOS' ]]; then
|
||||||
|
export PATH="$HOME/SyncMac/Apps/bin/universal:$PATH"
|
||||||
|
export PATH="$HOME/SyncMac/Apps/bin/x86_64_rosetta2:$PATH"
|
||||||
|
|
||||||
if [[ $arch == 'arm' ]]; then
|
if [[ $arch == 'arm' ]]; then
|
||||||
export PATH="$HOME/SyncMac/Apps/bin/arm64:$PATH"
|
export PATH="$HOME/SyncMac/Apps/bin/arm64:$PATH"
|
||||||
export PATH="$HOME/SyncMac/Apps/bin/universal:$PATH"
|
|
||||||
export PATH="$HOME/SyncMac/Apps/bin/x86_64_rosetta2:$PATH"
|
|
||||||
elif [[ $arch == 'i386' ]]; then
|
elif [[ $arch == 'i386' ]]; then
|
||||||
export PATH="$HOME/SyncMac/Apps/bin/universal:$PATH"
|
|
||||||
export PATH="$HOME/SyncMac/Apps/bin/x86_64:$PATH"
|
export PATH="$HOME/SyncMac/Apps/bin/x86_64:$PATH"
|
||||||
export PATH="$HOME/SyncMac/Apps/bin/x86_64_rosetta2:$PATH"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -80,11 +79,10 @@ fi
|
|||||||
# evals
|
# evals
|
||||||
#
|
#
|
||||||
|
|
||||||
# TheFuck
|
# Replace default `thefuck` eval with suggestion from GitHub
|
||||||
if [[ -x $(which thefuck) ]]; then
|
# https://github.com/nvbn/thefuck/issues/859
|
||||||
eval "$(thefuck --alias)"
|
if command -v thefuck >/dev/null 2>&1; then
|
||||||
# You can use whatever you want as an alias, like for Mondays:
|
fuck() {
|
||||||
eval "$(thefuck --alias FUCK)"
|
eval "$(thefuck --alias)" && fuck
|
||||||
|
}
|
||||||
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
fi
|
||||||
fi
|
|
6
zshrc
6
zshrc
@ -57,9 +57,3 @@ if [[ -d $HOME/.jan ]]; then
|
|||||||
source "$HOME/.jan/credentials"
|
source "$HOME/.jan/credentials"
|
||||||
source "$HOME/.jan/zsh_options"
|
source "$HOME/.jan/zsh_options"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PATH="/Users/jan/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
|
||||||
PERL5LIB="/Users/jan/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
|
||||||
PERL_LOCAL_LIB_ROOT="/Users/jan/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
|
||||||
PERL_MB_OPT="--install_base \"/Users/jan/perl5\""; export PERL_MB_OPT;
|
|
||||||
PERL_MM_OPT="INSTALL_BASE=/Users/jan/perl5"; export PERL_MM_OPT;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user