diff --git a/.bash_aliases b/.aliases similarity index 85% rename from .bash_aliases rename to .aliases index 897af93..eab3e06 100644 --- a/.bash_aliases +++ b/.aliases @@ -1,7 +1,8 @@ -#!/bin/bash +#!/usr/bin/env sh # # ~/.bash_aliases -# this file is sourced in ~/.bashrc and defines aliases used by the shell. +# This file should be sourced in *rc files, such as .bashrc. +# It's purpose is to provide aliases for various commands. # # replace some default tools with different ones diff --git a/.bash_logout b/.bash_logout deleted file mode 100644 index 9930ac1..0000000 --- a/.bash_logout +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# -# ~/.bash_logout -# sourced when an interactive login shell exits, or a non-interactive login shell executes `exit` -# diff --git a/.bashrc b/.bashrc index c40366b..12ed6ee 100644 --- a/.bashrc +++ b/.bashrc @@ -75,7 +75,7 @@ HISTIGNORE='exit*:clear*:\:*:echo*' shopt -s checkwinsize # check the window size after each command (and if necessary, the values of LINES and COLUMNS) shopt -s globstar # enable globstar (**/*) -[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases" +[ -f "$HOME/.aliases" ] && . "$HOME/.aliases" # cute lil hyfetch :3 [ "$TERM" == "xterm-kitty" ] && fastfetch diff --git a/.bash_profile b/.profile similarity index 87% rename from .bash_profile rename to .profile index de414e3..de275f8 100644 --- a/.bash_profile +++ b/.profile @@ -1,8 +1,9 @@ -#!/bin/sh -# shellcheck disable=1091 +#!/usr/bin/env sh # -# ~/.bash_profile -# sourced upon new login shells +# ~/.profile +# Sourced once per login by most shells. +# Some shells, such as csh may use a symlink from ~/.login instead. +# Used to set important variables, such as PATH, XDG_ and alike. # # https://specifications.freedesktop.org/basedir-spec/latest/