summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-02-02 15:42:18 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-02-02 15:42:18 +0100
commit09f888c18b9d6194d243d265b68bca4e5ae5a475 (patch)
treeef7c883fa4272f3bdd64fb8bb791b09f08639629 /application
parent924e4aff5a8f2762075995a9479b9016c1965485 (diff)
add sh -> bash alias
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application')
-rw-r--r--application/models/file_mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index c85bfe56d..4737efa0e 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -407,7 +407,8 @@ class File_mod extends CI_Model {
{
if ($alias === false) return false;
$aliasarray = array(
- 'py' => 'python'
+ 'py' => 'python',
+ 'sh' => 'bash'
);
if (array_key_exists($alias, $aliasarray)) return $aliasarray[$alias];