diff options
author | sabetts <sabetts> | 2003-06-26 00:52:04 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-06-26 00:52:04 +0000 |
commit | 4724ed633da36b1316164c340e63973ec13c0a8c (patch) | |
tree | 2b2c59a73b092c336af5b5fe11713db48bf0b16d | |
parent | 9cf6deaad6769e12f81e3a1d8c9e3def89e66c5c (diff) | |
download | ratpoison-4724ed633da36b1316164c340e63973ec13c0a8c.zip |
call /bin/bash
(rp_call): remove extraneous () in function declaration.
(ws_init_ws): likewise
(ws_init): likewise
(ws_save): likewise
(ws_restore): likewise
(ws_bindings): likewise
-rw-r--r-- | ChangeLog | 10 | ||||
-rwxr-xr-x | contrib/rpws | 14 |
2 files changed, 17 insertions, 7 deletions
@@ -1,3 +1,13 @@ +2003-06-25 Shawn Betts <sabetts@sfu.ca> + + * contrib/rpws: call /bin/bash + (rp_call): remove extraneous () in function declaration. + (ws_init_ws): likewise + (ws_init): likewise + (ws_save): likewise + (ws_restore): likewise + (ws_bindings): likewise + 2003-06-24 Shawn Betts <sabetts@sfu.ca> * contrib/rpws (rp_call): Don't print debug information. diff --git a/contrib/rpws b/contrib/rpws index d8c5c52..ccf7e14 100755 --- a/contrib/rpws +++ b/contrib/rpws @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Workspaces for ratpoison # Copyright (C) 2003 Shawn Betts @@ -26,18 +26,18 @@ RATPOISON=ratpoison -function rp_call () +function rp_call { $RATPOISON -c "$*" } -function ws_init_ws () +function ws_init_ws { rp_call gnew ws$1 rp_call setenv fs$1 `rp_call fdump` } -function ws_init () +function ws_init { # Backup the frames FS=`rp_call fdump` @@ -63,13 +63,13 @@ function ws_init () rp_call frestore $FS } -function ws_save () +function ws_save { WS=`rp_call getenv ws` rp_call setenv fs$WS `rp_call fdump` } -function ws_restore () +function ws_restore { ws_save if [ $1 == 1 ]; then @@ -82,7 +82,7 @@ function ws_restore () rp_call setenv ws $1 } -function ws_bindings () +function ws_bindings { # Use $0 so we know the name and location of the script to call. rp_call bind M-1 exec $0 1 |