From 144851b28e50ee4ec6987772e2383e76ff071a65 Mon Sep 17 00:00:00 2001 From: Zachary Billman Date: Sat, 26 Nov 2022 10:30:34 -0500 Subject: [PATCH] My dotfiles are now online. --- bash/.bashrc | 21 +++++++++++++++++++++ fish/config.fish | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 bash/.bashrc create mode 100644 fish/config.fish diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..02a5087 --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,21 @@ +# Sample .bashrc for SUSE Linux +# Copyright (c) SUSE Software Solutions Germany GmbH + +# There are 3 different types of shells in bash: the login shell, normal shell +# and interactive shell. Login shells read ~/.profile and interactive shells +# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all +# settings made here will also take effect in a login shell. +# +# NOTE: It is recommended to make language settings in ~/.profile rather than +# here, since multilingual X sessions would not work properly if LANG is over- +# ridden in every subshell. + +test -s ~/.alias && . ~/.alias || true + +export PATH=$PATH:/home/zpb/.local/bin +export PATH=$PATH:/home/zpb/.emacs.d/bin + +if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]] +then + exec fish +fi diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..bcdde68 --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,9 @@ +alias ls='lsd' +alias l='ls -l' +alias la='ls -a' +alias lla='ls -la' +alias lt='ls --tree' + +zoxide init fish | source + +starship init fish | source