Rename .bash_* files to more generic files, and remove unused bash_*

This commit is contained in:
2026-01-12 13:13:35 +01:00
parent c070337145
commit 48fe40403c
4 changed files with 9 additions and 12 deletions

View File

@@ -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

View File

@@ -1,5 +0,0 @@
#!/bin/sh
#
# ~/.bash_logout
# sourced when an interactive login shell exits, or a non-interactive login shell executes `exit`
#

View File

@@ -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

View File

@@ -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/