mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 02:29:57 +01:00
Compare commits
No commits in common. "074d7abd35f0e1a0c91bfb15092e51efa48905b0" and "b9fce71df9c3f53391f43204b3d6c3c7e1193208" have entirely different histories.
074d7abd35
...
b9fce71df9
4
zsh/env
4
zsh/env
@ -13,10 +13,10 @@ export EDITOR="nano"
|
|||||||
|
|
||||||
# set `ll` command - b(etter)ls per default
|
# set `ll` command - b(etter)ls per default
|
||||||
alias ll=bls
|
alias ll=bls
|
||||||
if test -x "$(which eza)"; then
|
if test -f "$homebrew_path/eza"; then
|
||||||
alias ll=eza
|
alias ll=eza
|
||||||
fi
|
fi
|
||||||
if test -x "$(which lsd)"; then
|
if test -f "$homebrew_path/lsd"; then
|
||||||
alias ll=lsd
|
alias ll=lsd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
7
zshrc
7
zshrc
@ -12,13 +12,6 @@ prompt_color2="#000000"
|
|||||||
# Load zsh settings
|
# Load zsh settings
|
||||||
source "$HOME/.dotfiles/zsh/settings"
|
source "$HOME/.dotfiles/zsh/settings"
|
||||||
|
|
||||||
# Run command when connected via SSH
|
|
||||||
# via: https://stackoverflow.com/questions/27613209/how-to-automatically-start-tmux-on-ssh-session/40192494#40192494
|
|
||||||
#
|
|
||||||
if [[ $- =~ i ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_TTY" ]]; then
|
|
||||||
tmux attach-session -t default || tmux new-session -s default
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Define platform
|
# Define platform
|
||||||
platform='Unknown'
|
platform='Unknown'
|
||||||
if [[ $(uname) == 'Linux' ]]; then
|
if [[ $(uname) == 'Linux' ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user