Giter Club home page Giter Club logo

mybash's Introduction

Socials

GitHub Stats

πŸ‘· Check out what I'm currently working on

🌱 My latest projects

πŸ”¨ My recent Pull Requests

⭐ Recent Stars

  • fairyglade/ly - display manager with console UI
  • akinomyoga/ble.sh - Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
  • KRTirtho/spotube - 🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
  • luong-komorebi/Awesome-Linux-Software - 🐧 A list of awesome Linux softwares
  • atuinsh/atuin - ✨ Magical shell history

πŸ“° Recent Blog Posts

πŸ“« How to reach me:

mybash's People

Contributors

aloksingh-rgb avatar augcampos avatar baddylan avatar christitustech avatar elomwarren avatar fanieventer avatar fearlessgeekmedia avatar hypeitnow avatar jonwin1 avatar joser93 avatar l3sp1nk avatar phemto5 avatar pissedcapslock avatar siaal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mybash's Issues

Batcat not available on DNF or yum for Fedora users (easy to fix)

Inside of the .bashrc it generates it aliases cat to batcat however on DNF and yum batcat is not available. For fixing this I would recommend a check to see if the user can use anything other than yum and DNF and if they can't then change the alias to simply bat. The other option is to use a git clone of some sorts to get it.

Couple of things

In regards to the .bashrc file provided, at line 123 you have the following alias, however in ArchLinux and as far as I am aware, debian both use /bin/bash/rm. /bin/bash/trash doesn't exist unless manually installed.

alias rm='trash -v'

Secondly, not sure about Debian, but on ArchLinux fresh install, your setup-arch.sh script installs fine without error, but it requires that zoxide be installed manually. probably should have that installed in your setup-arch.sh script.

zoxide is installable through pacman.

customization removal

SO, i didn't really like the theme it turned out for my terminal prompt in foot. [Termina]
Can , someone please help me how can i remove the customization and restore defaults...

setup-arch.sh Update required

setup-arch.sh still goes ahead and install autojump + some additional imports from setup.sh is required
or better remove setup-arch.sh

No symbol in "$HOME/Documents"

So i dont have the cool little symbols in my Documents directory. I am using the one that was setup by arch and not a "custom" created Folder. i also used the setup-arch.sh and i would love to get help here

auto update

snagged the idea form the powershell script still trying to figure out pull reqs but I added This to my .bashrc and it has been updating

#inserted at line22

########### automaticaly get bash update from github ###########
# replace CTT with git username
REPO_URL="https://github.com/ChrisTitusTech/mybash.git"
BRANCH="main"  # 
#
#  .bashrc file
BASHRC_FILE="$HOME/.bashrc"

# temp save bash file
TEMP_FILE=$(mktemp)

# grab updated bash 
# replace CTT with git username
curl -sSL "https://raw.githubusercontent.com/ChrisTitusTech/mybash/main/.bashrc" -o "$TEMP_FILE"

# repalce bash with new
if [ -s "$TEMP_FILE" ]; then
    mv -f "$TEMP_FILE" "$BASHRC_FILE" # no confirm before saving
   # mv  "$TEMP_FILE" "$BASHRC_FILE" # will ask for confrm before saving
    echo "updated .bashrc successfully."
else
    echo "failed to update .bashrc."
fi
####### end of update #########

it is not working right now with me after pull update today

after pull update today it want work any more so push some updates to fix this
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: /home/.../.bashrc: line 732: syntax error: unexpected end of file
...@fedora:$
i feel this about zsh
when I type zsh I get this
"...@fedora:
$ zsh
/home/.../zshrc:2: no such user or named directory: .
[...@fedora]~% which zsh
/usr/bin/zsh
" and I do not know how to fix it
before i pull today your script was working fine

weird performance issues when using

I installed this, and at first it was working fine, but now I have weird performance issues, it takes probably 10 seconds for the prompt to appear after starting a terminal or running a command. I checked, and it doesn't happen when using my own .bashrc.
I don't think it has anything to do with my terminal, I normally use kitty, but the same thing happens with xfce4-terminal.

Sudo bash ./setup.sh results in error

sudo bash ./setup.sh
Using apt
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
You need to be a member of the sudo group to run me!

Error when running ./setup-arch.sh

This issue is translated from swedish to english so it might not be exactly the same output as yours. I created a pull request for the issue and added autojump-git incase autojump fails. I'm quite new to GitHub but I love contributing to FOSS that's why I've tried my hardest to figure out how to use GitHub/branches/forks, etc.

:: Continue with installation? [y/n]
:: (1/1) Interprets SRCINFO: autojump
==> Creating package: autojump 22.5.3-9 (Mon Jan 30 2023 20:51:32)
==> Fetching sources...
-> Downloading autojump-22.5.3.tar.gz...
% Total % Received % Xferd Average Speed ​​Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55474 0 55474 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k
==> Validating source files with sha256sums...
autojump-22.5.3.tar.gz ... FAILED
==> ERROR: One or more files failed the validation test.
-> error downloading source files: autojump
context: exit status 1

==> Creating package: autojump 22.5.3-9 (Mon Jan 30 2023 20:51:33)
==> Checking run dependencies...
==> Checking build dependencies...
==> Fetching sources...
-> Found autojump-22.5.3.tar.gz
==> Validating source files with sha256sums...
autojump-22.5.3.tar.gz ... FAILED
==> ERROR: One or more files failed the validation test.
-> error during build: autojump

Missing cat/batcat

Just deployed it on Debian 12 and got a
bash: batcat: command not found
It worked after a
sudo nala install bat
so I think "bat" should be added to the DEPENDENCIES variable in the setup.sh script.

LS displaying all directories

  • After installing from arch-setup.sh the ls command started displaying all the directories including the hidden directories and hidden files.
  • Is it possible to restore the default behavior where ls only displays directories which are visible ?
  • Also the output by ls doesn't seem to obey the font-color which is set.
  • This is my original color scheme:
    og
    But the output from ls is like this:
    bug1

NixOS

How can i configure this beautiful Bash Interface in NixOS?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.