Author Topic: bash-me-up (Bash Startup Files Setup Made Easy)  (Read 3741 times)

PackRat

  • Posts: 1849
    • View Profile
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #75 on: January 13, 2017, 11:26:58 PM »
Working for my Void system - which also symlinks sh to dash

When I su to root I get the following errors:

Code: [Select]
-bash: pathprepend: command not found
-bash: pathprepend: command not found
-bash: pathprepend: command not found
-bash: pathappend: command not found
-bash: pathappend: command not found

but everything appears to be working.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3895
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #76 on: January 14, 2017, 07:16:54 AM »
I did not try the new version but I am getting that same exact error when I log into any tty

tty1 shows that error and just shoots back to login:

tty2-6 let me log in
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hakerdefo

  • Posts: 512
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #77 on: January 14, 2017, 07:35:56 AM »
@PackRat @VastOne
Anyone who installed V1 will have to remove the following two files manually before (preferable) or after installing V2,

Code: [Select]
sudo rm /etc/profile.d/extrapaths.sh
Code: [Select]
rm .xsession
Also remove any symbolic links in /root linking to .profile, .bash_profile, .bashrc, .bash_aliases, .bash_logout, .LESS_TERMCAP to your $HOME directory and those errors should be resolved.

If you never installed V1 then there is no need to do above.

Please test V2 on a clean system and give your feedback.
You Can't Always Git What You Want

hakerdefo

  • Posts: 512
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #78 on: January 14, 2017, 11:00:10 AM »
Tested V2 of bash-me-up on a fresh install of 64-bit VSIDO, and guess what?
It works like a charm :)
No errors or problems on logging-in either via tty or LightDM :)
Also tested it on a live session of VSIDO, and it works as expected in live session too :)
So if you are still hesitant, boot live USB or CD of VSIDO and install bash-me-up and take it for a test drive :)

Cheers!!!
You Can't Always Git What You Want

PackRat

  • Posts: 1849
    • View Profile
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #79 on: January 14, 2017, 03:51:56 PM »
That worked, and it works on a clean bash environment.

You need a README file in the tarball so a user can see what changes will be made prior to running the script.

This script is good for a clean, base install, but I can see where there will a rapid point of diminishing return - particularly since the $PATH is getting altered. Some applications (perl and python based come to mind) add custom PATH arguments to the bash environment, those would be lost when this script is run. Although VSIDO is based on Sid and your average Sid user will most likely figure it out, there are a lot of less experienced users these days installing Sid, Void, Arch etc ... becuase they want a rolling release they can tweak. Could lead to some frustration for them.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3895
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #80 on: January 14, 2017, 03:58:12 PM »
Worked for me as well and I agree completely with PackRat.. One thing that gets altered is aliases and for me I depend heavily on the aliases I use

Getting old sucks especially trying to remember vague commands   ??? :'(
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hakerdefo

  • Posts: 512
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #81 on: January 14, 2017, 04:15:08 PM »
python and perl modules don't add path to BASH environment. Python and Perl both have their own ways of sourcing their standard PATH.
Your custom bash aliases set in .bash_aliases will be available. I tested and all VSIDO bash aliases were available and usable, like 'q' for exit. Are you sure they are not working?
Cheers!!!
You Can't Always Git What You Want

VastOne

  •      v-ger
  • Posts: 3895
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #82 on: January 14, 2017, 04:16:31 PM »
I have not tested V2 yet.. I will a bit later today and let you know
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hakerdefo

  • Posts: 512
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #83 on: January 14, 2017, 04:19:18 PM »
VastOne, please test V2. Your feedback is very important.
You Can't Always Git What You Want

VastOne

  •      v-ger
  • Posts: 3895
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #84 on: January 15, 2017, 01:31:19 AM »
Tested V2 on a brand new install of VSIDO and all seems perfect..

Will keep on testing... well done hakerdefo!
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1849
    • View Profile
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #85 on: January 19, 2017, 02:10:37 PM »
Tested on a clean install of debian testing (upgraded to Sid).

Worked as advertised.

Some bash aliases that I find convenient for systemd.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

hakerdefo

  • Posts: 512
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #86 on: January 19, 2017, 08:10:16 PM »
'staton' and 'statoff'  are essential if you are a tinkerer. Thanks for sharing them PackRat!
You Can't Always Git What You Want