Compare commits

..

2 commits

Author SHA1 Message Date
6fa7c01922
Add proper ssh-agent loading 2024-02-19 09:26:12 +01:00
2bc192643e
Some more changes 2024-02-19 09:17:32 +01:00
2 changed files with 18 additions and 21 deletions

View file

@ -34,27 +34,21 @@ source "$OSH"/oh-my-bash.sh
export LANG=de_DE.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
eval `ssh-agent`
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
ssh-add -l > /dev/null || ssh-add
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# Set personal aliases, overriding those provided by oh-my-bash libs,
# plugins, and themes. Aliases can be placed here, though oh-my-bash
# users are encouraged to define aliases within the OSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias bashconfig="mate ~/.bashrc"
# alias ohmybash="mate ~/.oh-my-bash"
alias c="composer"
alias dc="docker compose"
alias gu="gitup"
[ ! -z "$(which starship)" ] && eval "$(starship init bash)"
[ ! -z "$(which direnv)" ] && eval "$(direnv hook bash)"
[ ! -z "$(which direnv)" ] && eval "$(direnv hook bash)"
for f in ~/.bashrc.d/*
do
source "$f"
done

View file

@ -4,6 +4,9 @@
- clean: ["~"]
- create:
- ~/.bashrc.d
- shell:
- git submodule update --init --recursive