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 export LANG=de_DE.UTF-8
# Preferred editor for local and remote sessions if [ ! -S ~/.ssh/ssh_auth_sock ]; then
# if [[ -n $SSH_CONNECTION ]]; then eval `ssh-agent`
# export EDITOR='vim' ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
# else fi
# export EDITOR='mvim' export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
# fi ssh-add -l > /dev/null || ssh-add
# Compilation flags alias c="composer"
# export ARCHFLAGS="-arch x86_64" alias dc="docker compose"
alias gu="gitup"
# 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"
[ ! -z "$(which starship)" ] && eval "$(starship init bash)" [ ! -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: ["~"] - clean: ["~"]
- create:
- ~/.bashrc.d
- shell: - shell:
- git submodule update --init --recursive - git submodule update --init --recursive