François Revol
4373e37dd8
Hide error when cd-ing out of the git tree
2012-11-03 00:18:54 +01:00
François Revol
70449c90d9
dev-perso: Add current branch name in window title for git
...
* when the project uses git, include the current branch name
in the terminal window title
2012-08-22 01:16:15 +02:00
François Revol
3af608ada5
Fix fossil SCM update command
...
* fossil update should do a pull on its own anyway.
2012-05-15 20:25:34 +02:00
François Revol
b8c19d314d
Fix fossil checkout filename.
2012-04-21 15:28:48 +02:00
François Revol
fce97ba360
Add support for the fossil scm
...
Rework scm tests.
Add a test for fossil checkouts.
2012-04-21 10:31:33 +02:00
François Revol
d4ad358195
Added 'devup' function to autoupdate projects
...
* scans projects for the AUTOUP tag in the .profile script.
* runs the $DEVUPCMD sequentially with the needed environment.
2012-02-23 02:39:09 +01:00
François Revol
9130cabf87
Cleanup
...
* separate unrelated code.
* remove "function" bashism.
* add a possible update command override variable $DEVUPCMD that is pushed to the history.
2012-02-23 02:38:22 +01:00
François Revol
e8cd700741
Check for Bazaar SCM and push "bzr update" to history.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 15:34:15 +00:00
François Revol
61ce1824df
- the linux console doesn't handle the set title escape code,
...
- renice the shell for OSX, despite claiming to be the most advanced OS it doesn't really handles playing a video while doing a build...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:39:36 +00:00
François Revol
3904a8dba0
export the project top level directory as $DEVPROJ.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 14:52:19 +00:00
François Revol
b3de82492a
- add a -n option to dev to bootstrap a new project,
...
- allow using an already exported DEVROOT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-14 15:25:54 +00:00
François Revol
fa66a805cc
- check for projets on my OSX folder,
...
- fix listing projects when there are none yet, don't use ls|sed,
- don't use source as it's bash specific, and test if the .profile exists, avoids a warning when bootstrapping a project,
- add vim as a fallback $EDITOR.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-06 14:31:24 +00:00
François Revol
5c38863b71
Add check for git repositories and update action for them (git pull), since the aGITated QEMU devs just migrated to it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 00:01:28 +00:00
François Revol
2bb68f8dc3
No line break here.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-04 12:59:02 +00:00
François Revol
a0a4211e6d
- fix typo, it's "dumb" terminal type :)
...
- move setting the terminal window title to COMMAND_PROMPT, it fixes issues like beeping when editting the command line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:02:04 +00:00
François Revol
dfefaa14f3
Remove \[ \] markers in PS1. They are supposed to contain non-displayable control characters, but gnome-terminal is painfully slow at editting the command line with those...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-12 11:57:20 +00:00
François Revol
cc9020e51d
Fix completion when DEVROOT contains more than 1 folder, like on linux accounts on ~/devel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 00:42:32 +00:00
François Revol
4af535b0aa
A very handy script I use to manage several projects, like haiku, oss, ...
...
It adds a "dev" function which completes on project names, sources local .profile and uses local .bash_history, as well as other niceties.
See comments on how to use it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 00:27:44 +00:00