12 Commits

Author SHA1 Message Date
KronikPillow
334186c26a
this causes stupid problems
sudo su logs you in as the current user with sudo privileges, it prevents loading current user environment variables,
even when running su -l to login as root, it's not loading root user enviroment variables either because it's logging in as root under sudo privileges instead as root,
this relates to [question about su #334](https://github.com/LukeSmithxyz/LARBS/issues/334)

aliasing pacman to always prepend sudo to the command, causes the pacman -Qs libxft-bgra command from .config/shell/profile
to run a sudo login prompt right after logging in as the user on SSH, and even sometimes on the desktop itself.
try sourcing .config/shell/profile after your logged in, it will ask for your sudo password ..
2021-04-01 01:25:20 +02:00
KronikPillow
42916ef068
use zsh globbing to add ~/.local/bin to $PATH
find is slow, instead use zsh globbing to add '~/.local/bin' to $PPATH
as it achieves the same effect but runs faster, plus the substitution
that was used in the previous command is actually a bad substitution
2021-04-01 01:25:20 +02:00
KronikPillow
844f3e5b6c
fixed ref alias to correct path 2021-04-01 01:25:20 +02:00
Luke Smith
284b1078cb
minor tweaks, electrum and mbsync to ~/.config 2021-03-07 15:44:52 -05:00
Luke Smith
deecc42707
startx alias 2021-03-07 15:40:43 -05:00
memreyagci
4bf6941b87 Deleted the .xinitrc link at $HOME for even a cleaner home directory.
A custom filename and directory can be specified with startx command,
which in this case is $XINITRC variable that indicates
$XDG_CONFIG_HOME/x11/xinitrc
2021-02-21 16:10:28 +01:00
Luke Smith
3249d6b100
clean up 2021-02-07 17:30:49 -05:00
ZaxonXP
17f15d91ee
Use find instead du for more efficient execution. (#880)
Find is faster and it is only one command. The last `:` is removed by the parameter expansion (works in both Bash and Zsh).
2021-01-13 17:51:40 -05:00
anntnzrb
7c96bd081a
Compatibility for FreeBSD's paste(1) (#853)
* Compatibility for FreeBSD's paste(1)

According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.

> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:

`find / -name bin -type d | paste -s -d : -`

* Compatibility for FreeBSD's paste(1)

According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.

> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:

`find / -name bin -type d | paste -s -d : -`
2020-12-01 18:21:03 -05:00
Luke Smith
ae2f08ec69
minor updates 2020-11-19 09:21:04 -05:00
Luke Smith
8983f6aeb4
files moved to new correct names 2020-11-19 08:37:50 -05:00
Luke Smith
cba0fcc03d
old stuff removed
many files renamed, possible breakage
2020-11-16 18:06:41 -05:00