mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 02:29:57 +01:00
Compare commits
3 Commits
b9fce71df9
...
074d7abd35
Author | SHA1 | Date | |
---|---|---|---|
|
074d7abd35 | ||
|
102f197d4a | ||
|
b08e40c082 |
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 -f "$homebrew_path/eza"; then
|
if test -x "$(which eza)"; then
|
||||||
alias ll=eza
|
alias ll=eza
|
||||||
fi
|
fi
|
||||||
if test -f "$homebrew_path/lsd"; then
|
if test -x "$(which lsd)"; then
|
||||||
alias ll=lsd
|
alias ll=lsd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
7
zshrc
7
zshrc
@ -12,6 +12,13 @@ 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