dCore Import Debian Packages to Mountable SCE extensions > dCore X86
ashrc alias
nitram:
dCore's .ashrc has built-in alias for df, du, ls, cp, mv, rm. Think Tiny Core has a built-in for 'ce=/etc/sysconfig/tcedir/'. Extracted default TC7 core.gz but couldn't actually find where this information comes from, /home is unpopulated, /root has no .ashrc , didn't see it in tc-functions...
In dCore i add these to .ashrc for quick navigate, as /home, /opt and /tmp are easy this is good:
alias te='cd /etc/sysconfig/tcedir/'
alias se='cd /etc/sysconfig/tcedir/sce/'
Not sure if you want to condsider a couple extra defaults for fresh installs, thanks for consideration.
Misalf:
In TC 7.x x86 it's at /etc/skel/.ashrc .
In addition to ce , I've added:
--- Code: ---alias ce='cd /etc/sysconfig/tcedir'
alias ceo='cd /etc/sysconfig/tcedir/optional'
--- End code ---
; )
nitram:
Thanks Misalf. If a 3 character alias is OK in dCore, 'tce' and 'sce' would be direct and easy too.
Jason W:
It's ok here, makes it nice and easy to cd to those directories and though manual involvement in the scedir is not advised, sce is an alias to cd to it. I used tce as opposed to ce to cd to the tcedir as to me it was easier to remember though I like to stay in line with Core functions whenever possible.
In the latest RC.
Misalf:
Actually, tce (to cd to the tce-dir) seems to make much more sense to me than ce . Or at least it could seem more intuitive. What does ce stand for?
Also, I actually have a script for this but it's probably the same for an alias ... something like
--- Code: ---alias tcz='tce-load -i'
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version