diff options
author | sinanmohd <pcmsinan@gmail.com> | 2023-03-10 19:08:13 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-03-10 19:27:54 +0530 |
commit | baf2695c6ca84bd3cf612d4017228a0f97c6a4bf (patch) | |
tree | 146162e758f1e87d8ee4d9733a8beb6a691147aa /.bashrc |
shell: initial shell setup
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#!/bin/bash + +# return when not interactive +case "$-" in +*i*) + ;; +*) + return + ;; +esac + +# bashism +complete -cf doas + +# shism u_u +[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/init" ] && + . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/init" |